Skip to content

Fix: dummy response text when prompt truncation is activated#524

Open
yanxi-chen wants to merge 2 commits intoagentscope-ai:mainfrom
yanxi-chen:fix/handle_prompt_truncated
Open

Fix: dummy response text when prompt truncation is activated#524
yanxi-chen wants to merge 2 commits intoagentscope-ai:mainfrom
yanxi-chen:fix/handle_prompt_truncated

Conversation

@yanxi-chen
Copy link
Copy Markdown
Collaborator

Description

  • When prompt truncation is activated, response text is replaced with a warning message (originally a single token, which may look confusing in logs).
  • Fix minor naming issues.

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant