From b178b08d6316f7b36cb02a2a169a2d5fc4c807c7 Mon Sep 17 00:00:00 2001 From: Krish Dholakia Date: Wed, 7 May 2025 22:53:47 -0700 Subject: [PATCH] Ollama - fix custom price cost tracking + add 'max_completion_token' support (#10636) * fix(utils.py): check if ollama model has custom attributes Fixes https://github.com/BerriAI/litellm/discussions/9630 * fix(ollama/completion): add 'max_completion_token' support for ollama