ตัวแทนโกหกผม จนกระทั่งผมเปิด Apidog AI Agent Debugger
The article discusses the author's experience debugging an AI agent using Apidog's AI Agent Debugger. The author encountered issues with incorrect response times being reported by the agent, which were traced back to a misunderstanding of units in the data returned. By using the debugger, the author was able to identify the root cause of the problem and implement a solution to ensure accurate reporting.
- ▪The author faced a bug where the AI agent reported response times in seconds instead of milliseconds.
- ▪Using Apidog's AI Agent Debugger allowed the author to trace the interactions between the model and the tool, revealing the source of the error.
- ▪After correcting the response schema to include units, the agent provided accurate response times in subsequent tests.
DEV.to (Top) files mainly under programming. We currently carry 4,915 of its stories.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3821627) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Thanawat Wongchai Posted on May 20 • Originally published at apidog.com ตัวแทนโกหกผม จนกระทั่งผมเปิด Apidog AI Agent Debugger บ่ายวันอังคาร ฉันวนดีบักไปแล้ว 12 รอบ และเอเจนต์ยังตอบอย่างมั่นใจว่า endpoint /users ตอบสนองใน 47 วินาที ทั้งที่ค่าจริงคือ 47 มิลลิวินาที ลองใช้ Apidog วันนี้ ฉันเสียเวลาไล่บั๊กนี้อยู่สองวัน เพิ่ม logging ใน MCP server ก็แล้ว แก้ system prompt ก็แล้ว อ่าน output ของโมเดลทีละรอบก็แล้ว แต่คำตอบยังดู “สมเหตุสมผล” มากขึ้นโดยที่ยังผิดเหมือนเดิม…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).