Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ollama stream response unmarshal error #1702

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leon6002
Copy link

@leon6002 leon6002 commented Jul 30, 2024

fix ollama stream response unmarshall error

close #1615

我已确认该 PR 已自测通过,相关截图如下:
before:
image
after:
image

fix ollama stream response body unmarshall error
@leon6002 leon6002 changed the title fix ollama stream response unmarshall error fix: ollama stream response unmarshall error Jul 30, 2024
@leon6002 leon6002 changed the title fix: ollama stream response unmarshall error fix: ollama stream response unmarshal error Jul 30, 2024
@MotorBottle
Copy link
Contributor

So this is not sole issue. Me had same Issue when building with latest source code. I added 2 API call parameters and resolved this issue as well in my PR #1694

@SLKun
Copy link
Contributor

SLKun commented Aug 6, 2024

#1694 重复了吧

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.

Stream=true 时,字符串解析出现问题
3 participants