Skip to content

fix(agents): base url override patch#2203

Merged
daryllimyt merged 1 commit intomainfrom
fix/agent-url-overrides
Feb 27, 2026
Merged

fix(agents): base url override patch#2203
daryllimyt merged 1 commit intomainfrom
fix/agent-url-overrides

Conversation

@jordan-umusu
Copy link
Collaborator

@jordan-umusu jordan-umusu commented Feb 26, 2026

Summary by cubic

Fixes base URL overrides for agent LLM calls. Preset/preset-configured base_url now reliably overrides workspace credential base URLs, with optional base URLs supported for OpenAI and Anthropic.

  • Bug Fixes
    • Propagate base_url through LLM tokens and gateway metadata; durable workflow passes cfg.base_url to mint_llm_token.
    • Inject api_base from OPENAI_BASE_URL/ANTHROPIC_BASE_URL when present, then prefer token/preset base_url for openai, anthropic, and custom-model-provider.
    • Added unit tests for injection and override precedence.

Written for commit b5de519. Summary will update on new commits.

@jordan-umusu jordan-umusu added fix Bug fix agents LLM agents labels Feb 26, 2026
@jordan-umusu jordan-umusu marked this pull request as ready for review February 26, 2026 22:58
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

@daryllimyt daryllimyt merged commit 7570f20 into main Feb 27, 2026
20 checks passed
@daryllimyt daryllimyt deleted the fix/agent-url-overrides branch February 27, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents LLM agents fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants