Remove stale app service references

This commit is contained in:
Andrey Avtomonov 2026-05-11 00:22:53 +02:00
parent e18e6ac8c4
commit 9530d33c00
10 changed files with 30 additions and 59 deletions

View file

@ -151,7 +151,7 @@ export abstract class BaseTool<TInput extends ZodType = ZodType> {
}
}
},
// Send only markdown to LLM - frontend still receives full { markdown, structured } via stream
// Send only markdown to the LLM; tool callers still receive the structured output.
toModelOutput: ({ output }) => {
if (output && typeof output === 'object' && 'markdown' in output) {
return { type: 'content', value: [{ type: 'text', text: output.markdown as string }] };