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

truncating input prompt #107

Open
eleaner opened this issue Feb 22, 2025 · 0 comments
Open

truncating input prompt #107

eleaner opened this issue Feb 22, 2025 · 0 comments

Comments

@eleaner
Copy link

eleaner commented Feb 22, 2025

hi

when running with local ollama I am getting lines like this

time=2025-02-22T00:05:18.431Z level=WARN source=runner.go:129 msg="truncating input prompt" limit=2048 prompt=74706 keep=5 new=2048

I understand that the default context window of ollama is 2048, however we set in .env file CONTEXT_SIZE="128000"

why it does not work?

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

No branches or pull requests

1 participant