Skip to content

prompt limit and cuts #1

Description

@j2l

It seems stuck and ollama log throws:
time=2025-03-21T16:53:26.677Z level=WARN source=runner.go:130 msg="truncating input prompt" limit=2048 prompt=4085 keep=5 new=2048

Also, it closes connection after 5min:

[GIN] 2025/03/21 - 17:08:34 | 500 |          5m0s |      172.17.0.1 | POST     "/api/generate"

time=2025-03-21T17:08:34.057Z level=INFO source=runner.go:654 msg="aborting completion request due to client closing the connection"

time=2025-03-21T17:08:34.253Z level=WARN source=runner.go:130 msg="truncating input prompt" limit=2048 prompt=2896 keep=5 new=2048

Do you get the same?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions