Skip to content

Replace Perplexity references with OpenAI GPT-4o and update presets#8

Closed
DHCross wants to merge 2 commits intomainfrom
codex/conduct-bug-hunt-for-gpt-4o-integration
Closed

Replace Perplexity references with OpenAI GPT-4o and update presets#8
DHCross wants to merge 2 commits intomainfrom
codex/conduct-bug-hunt-for-gpt-4o-integration

Conversation

@DHCross
Copy link
Copy Markdown
Owner

@DHCross DHCross commented Dec 24, 2025

Motivation

  • Replace legacy Perplexity integration with OpenAI's gpt-4o across debug tooling and UI presets to reflect the new upstream engine.
  • Align debug helpers and API host/paths so local tooling tests the same OpenAI endpoints used in production.
  • Update user-facing presets and labels so developers and QA pick the correct sensor preset in the Request Panel.

Description

  • Updated vessel/debug_oracle.js and vessel/debug_oracle_no_bearer.js to read OPENAI_API_KEY, call api.openai.com at /v1/chat/completions, and use model gpt-4o.
  • Changed the Request Panel preset from perplexity to openai, updated the header comment to x-openai-key, switched the preset model to gpt-4o, and relabeled the button to GPT-4o.
  • Adjusted server logging and comments in vessel/src/app/api/oracle/route.ts and vessel/src/components/OracleInterface.tsx to remove Perplexity-specific text (e.g., Perplexity ResponseOpenAI Response, and generalized citation cleanup).

Testing

  • Started the dev server with npm run dev and the Next.js app reported ready (local dev server started).
  • Attempted a Playwright-driven screenshot to validate the Request Panel UI, but the browser run failed with a TargetClosedError/SIGSEGV and no screenshot was captured.
  • No automated unit or integration test suites were executed as part of this change.

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 24, 2025

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

Project Deployment Review Updated (UTC)
shipyard Ready Ready Preview, Comment Dec 26, 2025 5:01pm

@DHCross DHCross closed this Dec 30, 2025
@DHCross DHCross deleted the codex/conduct-bug-hunt-for-gpt-4o-integration branch December 30, 2025 03:39
DHCross added a commit that referenced this pull request Mar 2, 2026
…ge clarity

HIGH priority:
- #6 symbolicWeather: soft-fail instead of re-throwing AuthorityViolationError
- #7 TTS: add 10s AbortController timeout to ElevenLabs fetch (504 on timeout)
- #9 injectProtocols: wrap in try/catch, continue without corpus on failure

MEDIUM priority:
- #2 LLM auth: normalize 401/403 to user-friendly message
- #3 LLM timeout: add one retry in generateReplyWithRetry
- #4 Empty LLM response: distinguish content_filter from true empty
- #5 AuthorityViolation outer catch: hide internal module names

LOW priority:
- #1 Missing LLM key 503: clearer operator message
- #8 useOracleChat: map 413 to user-friendly 'message too long' text
- #10 Remove void-cast needsConcreteRetry/needsProtocolRepair calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant