llama.cpp
ee9ca7a2 - webui: add MCP SDK dependency and handle all tool result content types

Commit
9 days ago
webui: add MCP SDK dependency and handle all tool result content types - Add @modelcontextprotocol/sdk dependency for proper type support - Update tool-results.ts to use CallToolResult from SDK (content array) - Handle all MCP content types: text, image, audio, resource, resource_link - Update components to use parsedResult.content instead of .items - Store images/audio in extra field for LLM consumption - Display images as expandable thumbnails, audio with controls, resources as links 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Author
Parents
Loading