Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion api/db/services/canvas_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def get_by_tenant_ids(cls, joined_tenant_ids, user_id,
cls.model.id,
cls.model.avatar,
cls.model.title,
cls.model.dsl,
cls.model.description,
cls.model.permission,
cls.model.user_id.alias("tenant_id"),
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/agent/form/agent-form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function AgentForm({ node }: INextOperatorForm) {
<FormWrapper>
{isSubAgent && <DescriptionField></DescriptionField>}
<LargeModelFormField showSpeech2TextModel></LargeModelFormField>
{findLlmByUuid(llmId)?.model_type === LlmModelType.Image2text && (
{findLlmByUuid(llmId)?.tags?.includes('IMAGE2TEXT') && (
<QueryVariable
name="visual_files_var"
label="Visual Input File"
Expand Down