Skip to content

feat(config): allow provider chat path suffix#2099

Open
Hmbown wants to merge 1 commit into
mainfrom
codex/issue-2089-openai-path-suffix
Open

feat(config): allow provider chat path suffix#2099
Hmbown wants to merge 1 commit into
mainfrom
codex/issue-2089-openai-path-suffix

Conversation

@Hmbown
Copy link
Copy Markdown
Owner

@Hmbown Hmbown commented May 25, 2026

Summary

  • add provider-scoped path_suffix config for OpenAI-compatible chat completions endpoints
  • route chat-completion requests through the override while keeping models, health, and beta FIM URL behavior unchanged
  • document the /chat/completions gateway setup in config docs and example config

Verification

  • cargo fmt --all -- --check
  • git diff --check
  • cargo test -p codewhale-config path_suffix
  • CARGO_TARGET_DIR=/Volumes/VIXinSSD/whalebro/codewhale-target/issue-2089 cargo test -p codewhale-tui path_suffix
  • CARGO_TARGET_DIR=/Volumes/VIXinSSD/whalebro/codewhale-target/issue-2089 cargo test -p codewhale-tui openai_provider_accepts_custom_model_and_base_url
  • CARGO_TARGET_DIR=/Volumes/VIXinSSD/whalebro/codewhale-target/issue-2089 cargo test -p codewhale-cli build_tui_command_forwards_resolved_runtime (compile-only; filter matched 0 tests)

Closes #2089
Closes #1874

Copilot AI review requested due to automatic review settings May 25, 2026 05:18
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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

Labels

None yet

Projects

None yet

2 participants