Phase 2: Add Code Interpreter for Data Analysis#2
Conversation
Agent Evaluation ResultsPhase: 2 Full results are in the Actions summary. |
Agent Evaluation ResultsPhase: 2 Full results are in the Actions summary. |
Agent Evaluation ResultsPhase: 2 Full results are in the Actions summary. |
- agents/tech-trends-agent.json: replace bing_grounding with code_interpreter (Phase 2 uses only code_interpreter, not both tools) - evaluate.yml: add smoke test step that invokes the agent and validates a response before running the full evaluation suite; remove BING_CONNECTION_NAME - bootstrap.sh: add model availability check (validates current + upgrade target gpt-4.1); remove Bing Grounding references and connection variable - lifecycle/02-phase2-code-interpreter.sh: fix to deploy code_interpreter only - README: document model upgrade (gpt-4o-2024-11-20 → gpt-4.1), note eval naming limitation (action creates new "Agent Evaluation" each run)
Agent Evaluation ResultsAgent: tech-trends-agent:8 Smoke Test: ❌ Full results are in the Actions summary. |
- get_agent() → agents.get(agent_name=...) - Use OpenAI responses API via get_openai_client() for smoke test invocation - Fix monitor.yml to use agent.latest_version
Agent Evaluation ResultsAgent: tech-trends-agent:9 Smoke Test: ❌ Full results are in the Actions summary. |
- Smoke test: just print agent name (version not needed for invocation) - Monitor: use list_versions() to find the latest version number
Agent Evaluation ResultsAgent: tech-trends-agent:10 Smoke Test: ❌ Full results are in the Actions summary. |
The responses.create() call was missing the model parameter, causing a 404 DeploymentNotFound error in Azure OpenAI.
Agent Evaluation ResultsAgent: tech-trends-agent:11 Smoke Test: ❌ Full results are in the Actions summary. |
✅ Agent Deployment & Evaluation Report🤖 Agent Details
📊 Pipeline Results
🛠️ Tools Configuration
🔗 Links🤖 Updated automatically by the CI pipeline · 2026-05-15 19:39:10 UTC |
AgentDetails object returned by project.agents.get() has 'versions' (list), not 'version' (scalar). Use versions[-1] for the latest version.
SDK model objects don't support negative indexing directly.
…sions is AgentObjectVersions (not a list).\nThe correct path is agent.versions.latest.version.\nVerified locally with SDK model objects.
Summary
code_interpretertool alongside existingbing_grounding## Data AnalysissectionChanges
agents/tech-trends-agent.jsoncode_interpreterto tools, phase →"2"prompts/tech-trends-agent.md## Data Analysis (Phase 2)sectionevals/eval-config.jsonphase_filter→null(run all cases)What to check
Phase
Phase 2 of 3 — web search + code interpreter. Phase 3 is model upgrade.