From 26d27803eb487a1b6b7881e2bdb74775b23c824b Mon Sep 17 00:00:00 2001 From: Chesars Date: Thu, 19 Feb 2026 15:17:27 -0300 Subject: [PATCH] fix(models): disable function calling for PublicAI Apertus models The Apertus 8B and 70B models do not support standard OpenAI-style tool calling. Per Swiss AI's docs, tool use integration into inference engines is still in development. Set supports_function_calling and supports_tool_choice to false. Fixes #21124 --- model_prices_and_context_window.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 41acb5c8101..0ee2d586f85 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -25907,8 +25907,8 @@ "mode": "chat", "output_cost_per_token": 0.0, "source": "https://platform.publicai.co/docs", - "supports_function_calling": true, - "supports_tool_choice": true + "supports_function_calling": false, + "supports_tool_choice": false }, "publicai/swiss-ai/apertus-70b-instruct": { "input_cost_per_token": 0.0, @@ -25919,8 +25919,8 @@ "mode": "chat", "output_cost_per_token": 0.0, "source": "https://platform.publicai.co/docs", - "supports_function_calling": true, - "supports_tool_choice": true + "supports_function_calling": false, + "supports_tool_choice": false }, "publicai/aisingapore/Gemma-SEA-LION-v4-27B-IT": { "input_cost_per_token": 0.0,