Files
open-webui/backend
ferret99gt fea169a9c0 Core fix for num_predict not working.
1) max_tokens was being looked for in openai_payload, but is present in openai_payload['options'], so is never found.
2) After copying the value for max_tokens to num_predict, delete max_tokens from the dictionary. This is to prevent Ollama throwing a warning about invalid option (max_tokens)
2025-02-19 08:52:34 -05:00
..
2024-02-24 22:35:11 -08:00
2024-09-06 04:59:20 +02:00
2025-02-13 12:52:17 -08:00