fix: prevent truncated Ollama answers
This commit is contained in:
@@ -1637,4 +1637,7 @@ metrics from PostGIS and includes dated observations only for persisted
|
||||
temporal series. Geometry is not sent to Ollama. The response contains the
|
||||
answer, used model, scope label, context metrics, discovered temporal series,
|
||||
source dataset ids and warnings. Missing measurements remain unavailable;
|
||||
specifically, no water volume is inferred from 2D water geometry.
|
||||
specifically, no water volume is inferred from 2D water geometry. The backend
|
||||
sets an explicit Ollama context window and returns
|
||||
`OLLAMA_RESPONSE_TRUNCATED` instead of accepting a response with
|
||||
`done_reason=length` as a complete answer.
|
||||
|
||||
Reference in New Issue
Block a user