Skip to content

[pull] 0.x from laravel:0.x#65

Merged
pull[bot] merged 1 commit into
HinchK:0.xfrom
laravel:0.x
Jun 29, 2026
Merged

[pull] 0.x from laravel:0.x#65
pull[bot] merged 1 commit into
HinchK:0.xfrom
laravel:0.x

Conversation

@pull

@pull pull Bot commented Jun 29, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Provider options set for Ollama via HasProviderOptions are all merged into
the request body "options" object — Ollama's model-parameters bag
(temperature, top_p, num_ctx, seed, …). But several Ollama request fields are
top-level rather than model parameters, notably "format" (Ollama's JSON-mode
switch) and "keep_alive". Ollama ignores them under "options", so there was no
way to set "format" through provider options without dropping into the full
schema path.

buildChatRequestBody() now hoists the keys Ollama documents at the top level
of POST /api/chat (format, keep_alive, think, logprobs, top_logprobs) to the
body root and keeps everything else under "options". Genuine model parameters
are untouched, and a schema-driven format still wins over a provider-options
format. Tests added.

Co-authored-by: cjmcintyre <cjmcintyre@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jun 29, 2026
@pull pull Bot added the ⤵️ pull label Jun 29, 2026
@pull
pull Bot merged commit 1de2de9 into HinchK:0.x Jun 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant