Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: remove unused parameter (#15558)
crazywoola258736f50546
diff --git a/api/services/workspace_service.py b/api/services/workspace_service.pyindex 7637b31454e..d91ce27854c 100644--- a/api/services/workspace_service.py+++ b/api/services/workspace_service.py@@ -18,7 +18,6 @@ class WorkspaceService:"plan": tenant.plan,"status": tenant.status,"created_at": tenant.created_at,- "in_trail": True,"trial_end_reason": None,"role": "normal",}diff --git a/web/context/app-context.tsx b/web/context/app-context.tsxindex a6a9afaec9b..da246d5ca4e 100644--- a/web/context/app-context.tsx+++ b/web/context/app-context.tsx@@ -49,7 +49,6 @@ const initialWorkspaceInfo: ICurrentWorkspace = {created_at: 0,role: 'normal',providers: [],- in_trail: true,}const AppContext = createContext<AppContextValue>({diff --git a/web/models/common.ts b/web/models/common.tsindex 4c25e92a853..4086220e2ec 100644--- a/web/models/common.ts+++ b/web/models/common.ts@@ -1,23 +1,23 @@import type { I18nText } from '@/i18n/language'-export interface CommonResponse {+export type CommonResponse = {result: 'success' | 'fail'}-export interface OauthResponse {+export type OauthResponse = {redirect_url: string}-export interface SetupStatusResponse {+export type SetupStatusResponse = {step: 'finished' | 'not_started'setup_at?: Date}-export interface InitValidateStatusResponse {+export type InitValidateStatusResponse = {status: 'finished' | 'not_started'}-export interface UserProfileResponse {+export type UserProfileResponse = {id: stringname: stringemail: string@@ -33,13 +33,13 @@ export interface UserProfileResponse {created_at?: string}-export interface UserProfileOriginResponse {+export type UserProfileOriginResponse = {json: () => Promise<UserProfileResponse>bodyUsed: booleanheaders: any}-export interface LangGeniusVersionResponse {+export type LangGeniusVersionResponse = {current_version: stringlatest_version: stringversion: string@@ -49,7 +49,7 @@ export interface LangGeniusVersionResponse {current_env: string}-export interface TenantInfoResponse {+export type TenantInfoResponse = {name: stringcreated_at: stringproviders: Array<{@@ -80,14 +80,14 @@ export enum ProviderName {Tongyi = 'tongyi',ChatGLM = 'chatglm',}-export interface ProviderAzureToken {+export type ProviderAzureToken = {openai_api_base?: stringopenai_api_key?: string}-export interface ProviderAnthropicToken {+export type ProviderAnthropicToken = {anthropic_api_key?: string}-export interface ProviderTokenType {+export type ProviderTokenType = {[ProviderName.OPENAI]: string[ProviderName.AZURE_OPENAI]: ProviderAzureToken[ProviderName.ANTHROPIC]: ProviderAnthropicToken@@ -110,14 +110,14 @@ export type ProviderHosted = Provider & {quota_used: number}-export interface AccountIntegrate {+export type AccountIntegrate = {provider: 'google' | 'github'created_at: numberis_bound: booleanlink: string}-export interface IWorkspace {+export type IWorkspace = {id: stringname: stringplan: string@@ -129,7 +129,6 @@ export interface IWorkspace {export type ICurrentWorkspace = Omit<IWorkspace, 'current'> & {role: 'owner' | 'admin' | 'editor' | 'dataset_operator' | 'normal'providers: Provider[]- in_trail: booleantrial_end_reason?: stringcustom_config?: {remove_webapp_brand?: boolean@@ -137,7 +136,7 @@ export type ICurrentWorkspace = Omit<IWorkspace, 'current'> & {}}-export interface DataSourceNotionPage {+export type DataSourceNotionPage = {page_icon: null | {type: string | nullurl: string | null@@ -156,7 +155,7 @@ export type NotionPage = DataSourceNotionPage & {export type DataSourceNotionPageMap = Record<string, DataSourceNotionPage & { workspace_id: string }>-export interface DataSourceNotionWorkspace {+export type DataSourceNotionWorkspace = {workspace_name: stringworkspace_id: stringworkspace_icon: string | null@@ -166,7 +165,7 @@ export interface DataSourceNotionWorkspace {export type DataSourceNotionWorkspaceMap = Record<string, DataSourceNotionWorkspace>-export interface DataSourceNotion {+export type DataSourceNotion = {id: stringprovider: stringis_bound: boolean@@ -181,12 +180,12 @@ export enum DataSourceProvider {jinaReader = 'jinareader',}-export interface FirecrawlConfig {+export type FirecrawlConfig = {api_key: stringbase_url: string}-export interface DataSourceItem {+export type DataSourceItem = {id: stringcategory: DataSourceCategoryprovider: DataSourceProvider@@ -195,15 +194,15 @@ export interface DataSourceItem {updated_at: number}-export interface DataSources {+export type DataSources = {sources: DataSourceItem[]}-export interface GithubRepo {+export type GithubRepo = {stargazers_count: number}-export interface PluginProvider {+export type PluginProvider = {tool_name: stringis_enabled: booleancredentials: {@@ -211,7 +210,7 @@ export interface PluginProvider {} | null}-export interface FileUploadConfigResponse {+export type FileUploadConfigResponse = {batch_count_limit: numberimage_file_size_limit?: number | string // default is 10MBfile_size_limit: number // default is 15MB@@ -234,14 +233,14 @@ export type InvitationResponse = CommonResponse & {invitation_results: InvitationResult[]}-export interface ApiBasedExtension {+export type ApiBasedExtension = {id?: stringname?: stringapi_endpoint?: stringapi_key?: string}-export interface CodeBasedExtensionForm {+export type CodeBasedExtensionForm = {type: stringlabel: I18nTextvariable: string@@ -252,17 +251,17 @@ export interface CodeBasedExtensionForm {max_length?: number}-export interface CodeBasedExtensionItem {+export type CodeBasedExtensionItem = {name: stringlabel: anyform_schema: CodeBasedExtensionForm[]}-export interface CodeBasedExtension {+export type CodeBasedExtension = {module: stringdata: CodeBasedExtensionItem[]}-export interface ExternalDataTool {+export type ExternalDataTool = {type?: stringlabel?: stringicon?: string@@ -274,7 +273,7 @@ export interface ExternalDataTool {} & Partial<Record<string, any>>}-export interface ModerateResponse {+export type ModerateResponse = {flagged: booleantext: string}