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

Abitclose/fix 0419 #303

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

abitclose
Copy link

1、Sometimes the server cannot correctly obtain the http header of x_ollama_host, so server\middleware\ollama.ts is modified to make ollama interface configuration compatible and optimized.
2、Modified the .env.example file and added an optional environment variable OLLAMA_HOST

…ama_host, so server\middleware\ollama.ts is modified to make ollama interface configuration compatible and optimized.
@sugarforever
Copy link
Owner

@abitclose Thanks for looking into it.

May I query in what cases, the server can't obtain the http header? It's better to understand the situation and try to make it reproducible?

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.

None yet

2 participants