Skip to content

Conversation

@aibrahim-oai
Copy link
Collaborator

This PR truncates the text output of MCP tool

.map(|it| match it {
FunctionCallOutputContentItem::InputText { text } => {
FunctionCallOutputContentItem::InputText {
text: format_output_for_model_body(text),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just ensures that no single text item will exceed the truncation length right?

Is the plan to land this and then properly sum/resize images?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, just to unblock folks

@aibrahim-oai aibrahim-oai enabled auto-merge (squash) October 28, 2025 00:30
@aibrahim-oai aibrahim-oai merged commit d7b333b into main Oct 28, 2025
34 of 36 checks passed
@aibrahim-oai aibrahim-oai deleted the fix-main branch October 28, 2025 00:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants