Skip to content

feat(deep): allow disabling built-in task prompt injection - #1125

Open
ddddddddwp wants to merge 1 commit into
cloudwego:mainfrom
ddddddddwp:codex/issue-878-disable-deep-task-prompt
Open

feat(deep): allow disabling built-in task prompt injection#1125
ddddddddwp wants to merge 1 commit into
cloudwego:mainfrom
ddddddddwp:codex/issue-878-disable-deep-task-prompt

Conversation

@ddddddddwp

Copy link
Copy Markdown

Summary

  • Add WithoutTaskPrompt to DeepAgent config.
  • Keep the built-in task tool available while allowing users to disable automatic task prompt injection.
  • Add coverage for both default prompt injection and disabled prompt injection behavior.

Fixes #878

Tests

  • go test -count=1 ./adk/prebuilt/deep -run TestDeepAgentTaskPromptConfig
  • go test -count=1 ./adk/prebuilt/...

@CLAassistant

CLAassistant commented Jun 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

支持关闭 Deep Agent 内置的 task(subagent spawner)提示词注入

2 participants