fix(web-fetch): add simplified system instruction to prevent AI greeting responses#2610
Conversation
📋 Review SummaryThis PR fixes issue #2609 by adding a dedicated simplified system instruction for the 🔍 General Feedback
🎯 Specific Feedback🔴 CriticalNo critical issues identified. 🟡 HighNo high priority issues identified. 🟢 Medium
🔵 Low
✅ Highlights
|
Code Coverage Summary
CLI Package - Full Text ReportCore Package - Full Text ReportFor detailed HTML reports, please see the 'coverage-reports-22.x-ubuntu-latest' artifact from the main CI run. |
…ing responses - Add concise system instruction for web content processing - Prevents glm-5 and other models from using main session's complex prompt - Fixes issue where web_fetch returns AI greetings instead of web content Resolves #2609
ba41f3b to
ca3086c
Compare
…uction fix(web-fetch): add simplified system instruction to prevent AI greeting responses
Summary
This PR fixes issue #2609 where the
web_fetchtool returns AI model greetings instead of actual web content.Root Cause
When using models like GLM-5, the web_fetch tool was inheriting the main session's complex system instruction, causing the model to respond with greetings or unrelated content instead of processing the fetched web content.
Solution
Add a dedicated, simplified system instruction for web content processing:
This ensures the model focuses on extracting information from the fetched content rather than using the main session's prompt.
Testing
Related Issues