[GH-ISSUE #5671] API Responses missing fields #65574

Closed
opened 2026-05-03 21:45:10 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @stavsap on GitHub (Jul 13, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5671

Originally assigned to: @jmorganca on GitHub.

What is the issue?

it seems that in this version the response from api calls changed.

no more context field nor load_duration

please advise.

OS

Windows

GPU

Nvidia

CPU

AMD

Ollama version

0.2.3

Originally created by @stavsap on GitHub (Jul 13, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5671 Originally assigned to: @jmorganca on GitHub. ### What is the issue? it seems that in this version the response from api calls changed. no more `context` field nor `load_duration` please advise. ### OS Windows ### GPU Nvidia ### CPU AMD ### Ollama version 0.2.3
GiteaMirror added the bug label 2026-05-03 21:45:10 -05:00
Author
Owner

@slouffka commented on GitHub (Jul 13, 2024):

Confirming that /api/generate response is broken. Multiple properties are missing in /api/generate response in latest Ollama release.

269ed6e6a2 (diff-829f94fd58de777429c6c25e68de745804cb600031e92995007fa08d7af32078L236)

Here's the diff that introduced a bug. Starting on line 236.

<!-- gh-comment-id:2226873613 --> @slouffka commented on GitHub (Jul 13, 2024): Confirming that /api/generate response is broken. Multiple properties are missing in /api/generate response in latest Ollama release. https://github.com/ollama/ollama/commit/269ed6e6a2cea822ab137d40d5c70c8bf09470f8#diff-829f94fd58de777429c6c25e68de745804cb600031e92995007fa08d7af32078L236 Here's the diff that introduced a bug. Starting on line 236.
Author
Owner

@slouffka commented on GitHub (Jul 13, 2024):

Meanwhile I've downgraded to 0.2.1 which does not have these changes. It works for me.

<!-- gh-comment-id:2226882564 --> @slouffka commented on GitHub (Jul 13, 2024): Meanwhile I've downgraded to 0.2.1 which does not have these changes. It works for me.
Author
Owner

@doggi87 commented on GitHub (Jul 13, 2024):

I have same issues with 0.2.2 and 0.2.3 and works perfectly fine in 0.2.1 so I downgraded also

<!-- gh-comment-id:2226882878 --> @doggi87 commented on GitHub (Jul 13, 2024): I have same issues with 0.2.2 and 0.2.3 and works perfectly fine in 0.2.1 so I downgraded also
Author
Owner

@jmorganca commented on GitHub (Jul 13, 2024):

Hi folks, I'm sorry about this – 0.2.4 was released earlier today which fixes this https://github.com/ollama/ollama/releases/tag/v0.2.4

<!-- gh-comment-id:2227111074 --> @jmorganca commented on GitHub (Jul 13, 2024): Hi folks, I'm sorry about this – 0.2.4 was released earlier today which fixes this https://github.com/ollama/ollama/releases/tag/v0.2.4
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65574