1989366844acd41497265c3bee35f348c904c3b9
- Remove duplicate span append + tool call decision logging block (lines 328-426) - Fix _extract_tool_calls_from_response to use getattr() instead of .get() on objects - Fix _calculate_cost to use exact match first, then longest-prefix match (prevents gpt-4o-mini matching gpt-4 pricing) - Fix test mock setup: set return_value BEFORE wrap_openai() so wrapper captures correct original - All 11 OpenAI integration tests + 8 SDK tests passing (19/19)
fix: OpenAI wrapper - remove duplicate span block, fix tool call extraction, fix cost model matching
agentlens
AgentLens - Agent observability that traces decisions, not just API calls. See WHY your AI agents chose what they chose.
Languages
TypeScript
77.5%
Python
22.2%
Dockerfile
0.2%