Skip to content

CORE-1801: Support Bedrock authentication in Fold Codex - #37

Open
K-Mistele wants to merge 1 commit into
mainfrom
core-1801-support-bedrock-token-refresh-for-codex
Open

CORE-1801: Support Bedrock authentication in Fold Codex#37
K-Mistele wants to merge 1 commit into
mainfrom
core-1801-support-bedrock-token-refresh-for-codex

Conversation

@K-Mistele

Copy link
Copy Markdown
Contributor

Summary

  • add a separate codex_bedrock auth record without changing existing Codex OAuth data
  • resolve ChatGPT or Amazon Bedrock from explicit options, the Fold auth store, or Codex config.toml
  • generate and cache Bedrock bearer keys in memory, refresh lazily, and retry once after recognized auth failures
  • route Fold Codex requests through the regional Bedrock Mantle Responses endpoint
  • add coverage for storage compatibility, selection precedence, refresh concurrency, request retry, and URL/model mapping

Testing

  • bun run typecheck
  • bun run test
  • bun run format:check
  • changed-file type-aware lint
  • git diff --check

Part of CORE-1801.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant