Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

Maps baseUrl from config to baseURL expected by AI SDK providers (Anthropic, OpenAI).

Maintains backward compatibility - existing configs with baseUrl continue to work without changes.

Generated with cmux

The AI SDK expects baseURL (uppercase) but config uses baseUrl (lowercase) for consistency.
This change maps the field when creating providers while preserving backward compatibility.
The AI SDK expects baseURL (uppercase) but config uses baseUrl (lowercase) for consistency.
This change maps the field when creating providers while preserving backward compatibility.
Added notes regarding Bun test limitations and placeholders.
@ibetitsmike ibetitsmike added this pull request to the merge queue Nov 7, 2025
Merged via the queue into main with commit a7a6b3c Nov 7, 2025
13 checks passed
@ibetitsmike ibetitsmike deleted the provider-base-url branch November 7, 2025 20:01
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.

2 participants