Skip to content

Fix analysis failures and upgrade models - #37

Draft
mattteufel-e2b wants to merge 3 commits into
mainfrom
codex/refresh-models-and-runtime
Draft

mattteufel-e2b wants to merge 3 commits into
mainfrom
codex/refresh-models-and-runtime

Conversation

@mattteufel-e2b

@mattteufel-e2b mattteufel-e2b commented Oct 7, 2026 •

Copy link
Copy Markdown

Retired model IDs and mismatched AI SDK generations caused analysis requests to fail. Update the model catalog and compatible provider SDKs, migrate streaming chat to AI SDK 7, and use the OpenAI Responses API with supported settings. Existing saved selections migrate within their provider, and configured server credentials select a usable default.

Restore E2B uploads, Python execution, stdout, and chart serialization with the current SDK. Close each sandbox after execution, retain uploads for follow-up questions, and show recoverable provider/execution errors. OpenAI follow-ups replay assistant text without stored-item references that require omitted reasoning context.

Validation (Node.js 24):

  • Four regression tests pass, including actual SDK request serialization for explicit credentials, Responses settings, and follow-up text replay.
  • Production build, type checking, and lint pass; the existing raw chart <img> lint warning remains. Vercel preview build also passes. The preview requires Vercel login, so browser execution testing uses the local production build.
  • Real browser tests against the production build: uploaded CSV → live DeepSeek V4.1 Flash, GLM 5.3 Flash, and GPT-6 Luna → real E2B execution → revenue total 60 and static/interactive charts.
  • Live GPT-6 Luna follow-up retains the uploaded CSV and returns total 60. A simulated non-JSON sandbox gateway failure recovers through Retry with live generation and execution.
  • Invalid credentials, missing credentials, malformed requests, missing code, and retired saved selections have actionable errors or safe migration; the form recovers.

Astra and Sol returned provider 429 rate/spending-limit errors with the available key, so successful generation for those models remains unverified. Anthropic and Google generation remain unverified because their credentials were unavailable. No credentials or local browser fixtures are committed.

@cla-bot cla-bot Bot added the cla-signed label Oct 7, 2026
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ai-analyst Ready Ready Preview Oct 7, 2026 6:27pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 272cb0e2 Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant