fix: update core.file imports to core.workflow.file after merge

The File class and related modules were moved from core.file to
core.workflow.file in the sandboxed-agent branch. This commit
updates all remaining references including test mock/patch paths,
Switch component defaultValue→value changes, and account setting
tab constant updates.

Made-with: Cursor
This commit is contained in:
Novice
2026-03-19 18:05:55 +08:00
parent 89b76d6c33
commit a883b74272
20 changed files with 65 additions and 30 deletions

View File

@ -12,7 +12,7 @@ from collections.abc import Generator
from typing import Any, Union
from core.agent.entities import AgentLog, AgentResult
from core.file import File
from core.workflow.file import File
from core.model_runtime.entities import (
AssistantPromptMessage,
LLMResult,