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

Local LLM parsing issue #171

Open
ColumbusAI opened this issue Jul 8, 2024 · 0 comments
Open

Local LLM parsing issue #171

ColumbusAI opened this issue Jul 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ColumbusAI
Copy link

Describe the bug

Local LLM parsing issue

MC would not connect to Ollama's localhost API endpoint so I started up liteLLM and it's working as an intermediary proxy for Ollama <-> MC. Text streams are coming in fine however there are extra formatting characters in just about every response.

How can this be parsed out?

To Reproduce

I am using Ollama with the Gemma2 9B model.
LiteLLM is the proxy for OpenAI formatted endpoint

Screenshots/GIF

see above

Desktop (please complete the following information):

-Windows11
-96 GB DDR5
-RTX 4090
-13900k

@ColumbusAI ColumbusAI added the bug Something isn't working label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant