mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
fix: resolve test failures and lint errors after segment 5 merge
- Add login_manager mock to controller test fixtures (6 files) - Remove duplicate MemoryConfig import in llm_utils.py - Fix line-too-long in test_workflow_draft_variable.py Made-with: Cursor
This commit is contained in:
@ -56,9 +56,13 @@ from dify_graph.enums import (
|
||||
)
|
||||
from dify_graph.file import File, FileTransferMethod, FileType
|
||||
from dify_graph.model_runtime.entities import (
|
||||
AssistantPromptMessage,
|
||||
ImagePromptMessageContent,
|
||||
PromptMessage,
|
||||
PromptMessageRole,
|
||||
SystemPromptMessage,
|
||||
TextPromptMessageContent,
|
||||
UserPromptMessage,
|
||||
)
|
||||
from dify_graph.model_runtime.entities.llm_entities import (
|
||||
LLMResult,
|
||||
@ -94,6 +98,7 @@ from dify_graph.variables import (
|
||||
ArrayFileSegment,
|
||||
ArrayPromptMessageSegment,
|
||||
ArraySegment,
|
||||
FileSegment,
|
||||
NoneSegment,
|
||||
ObjectSegment,
|
||||
StringSegment,
|
||||
|
||||
Reference in New Issue
Block a user