revert: add tools for output in agent mode

feat: hide output tools and improve JSON formatting for structured output
feat: hide output tools and improve JSON formatting for structured output
fix: handle prompt template correctly to extract selectors for step run
fix: emit StreamChunkEvent correctly for sandbox agent
chore: better debug message
fix: incorrect output tool runtime selection
fix: type issues
fix: align parameter list
fix: align parameter list
fix: hide internal builtin providers from tool list
vibe: implement file structured output
vibe: implement file structured output
fix: refix parameter for tool
fix: crash
fix: crash
refactor: remove union types
fix: type check
Merge branch 'feat/structured-output-with-sandbox' into feat/support-agent-sandbox
fix: provide json as text
fix: provide json as text
fix: get AgentResult correctly
fix: provides correct prompts, tools and terminal predicates
fix: provides correct prompts, tools and terminal predicates
fix: circular import
feat: support structured output in sandbox and tool mode
This commit is contained in:
Stream
2026-02-04 21:13:07 +08:00
parent 25065a4f2f
commit e0082dbf18
41 changed files with 1014 additions and 1358 deletions

View File

@ -91,8 +91,6 @@ class BuiltinToolManageService:
:return: the list of tools
"""
provider_controller = ToolManager.get_builtin_provider(provider, tenant_id)
if ToolManager.is_internal_builtin_provider(provider_controller.entity.identity.name):
return []
tools = provider_controller.get_tools()
result: list[ToolApiEntity] = []
@ -543,8 +541,6 @@ class BuiltinToolManageService:
for provider_controller in provider_controllers:
try:
if ToolManager.is_internal_builtin_provider(provider_controller.entity.identity.name):
continue
# handle include, exclude
if is_filtered(
include_set=dify_config.POSITION_TOOL_INCLUDES_SET,