Skip to content

fix(conversation): Allow forward slashes in ModelId validation - #96

Merged
JeanMertz merged 1 commit into
mainfrom
jean/fix-model-ids
May 26, 2025
Merged

JeanMertz merged 1 commit into
mainfrom
jean/fix-model-ids

Conversation

@JeanMertz

Copy link
Copy Markdown
Collaborator

The ModelId validation has been updated to accept forward slashes as valid characters, enabling support for hierarchical model identifiers such as openrouter/google/gemini-2.5-pro-preview, where the first part (openrouter) is the provider, and the second part (google/gemini-2.5-pro-preview) is the model identifier used by Openrouter.

The default persona configuration for the project has also been updated to fix the unknown model name.

The `ModelId` validation has been updated to accept forward slashes as
valid characters, enabling support for hierarchical model identifiers
such as `openrouter/google/gemini-2.5-pro-preview`, where the first part
(`openrouter`) is the provider, and the second part
(`google/gemini-2.5-pro-preview`) is the model identifier used by
Openrouter.

The default persona configuration for the project has also been updated
to fix the unknown model name.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz
JeanMertz merged commit 51fe290 into main May 26, 2025
@JeanMertz
JeanMertz deleted the jean/fix-model-ids branch May 26, 2025 22:32
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