Ollama: "truncating input prompt" on edit & submit. #5631
Unanswered
sghunterfan
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using ollama as an endpoint, "max content tokens" and "max output tokens" are being ignored, and prompt goes to "react website development" mode, idk why.
Here's how to reproduce it:
modelSpecs
endpoint (configuration below)Save & Submit
Expected output:
Sure thing! Here's the list of ...
Actual output:
Error produced in ollama logs:
time=2025-02-03T19:00:17.885Z level=WARN source=runner.go:129 msg="truncating input prompt" limit=2048 prompt=2498 keep=4 new=2048
Configuration:
Endpoints:
modelSpecs:
enforce: false
prioritize: true
Beta Was this translation helpful? Give feedback.
All reactions