Skip to content

Return text from tools#35

Merged
jurasofish merged 4 commits intomainfrom
return_text_from_tools
Feb 23, 2025
Merged

Return text from tools#35
jurasofish merged 4 commits intomainfrom
return_text_from_tools

Conversation

@jurasofish
Copy link
Copy Markdown
Owner

@jurasofish jurasofish commented Feb 23, 2025

The tools generally return JSON, even when the response is simple text. It might do something like return a JSON list with one text element. A bit silly! So here I've rejigged to generally just return plain text. Should help keep token usage a bit lower. And also makes it easier to read the responses, which is one of the big features of MCPunk.

@jurasofish jurasofish merged commit ad14a27 into main Feb 23, 2025
@jurasofish jurasofish deleted the return_text_from_tools branch February 23, 2025 03:21
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