Skip to content

fix(generation): honor Ollama chat model override - #170

Merged
yuzushi-dev merged 1 commit into
mainfrom
fix/ollama-chat-model-override
Oct 2, 2026
Merged

yuzushi-dev merged 1 commit into
mainfrom
fix/ollama-chat-model-override

Conversation

@yuzushi-dev

Copy link
Copy Markdown
Owner

GenerationService selects a model per request and forwards it to Ollama chat. Previously the provider also supplied its default model, causing a duplicate model keyword error before the client request.

Consume the optional override once. The requested model wins; an absent or None value retains the provider default. Tool handling is unchanged.

Validation: 18 focused provider/generation tests, regression red/green, make lint, diff check and secret scan passed. Independent GPT-5.5 review found no introduced blocker, major or minor issue. Tests use the actual provider with a fake client, without network requests.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T09:39:05.735266Z 9893ade PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@yuzushi-dev
yuzushi-dev merged commit bcd108e into main Oct 2, 2026
5 checks passed
@yuzushi-dev
yuzushi-dev deleted the fix/ollama-chat-model-override branch October 2, 2026 09:49
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