From b3d66ae33f934bd646259971cc2b1422bc156385 Mon Sep 17 00:00:00 2001 From: DavertMik Date: Sun, 2 Nov 2025 23:42:41 +0200 Subject: [PATCH] fix: Simplify Groq tool_choice to String --- lib/intelligence/adapters/groq.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/intelligence/adapters/groq.rb b/lib/intelligence/adapters/groq.rb index b0d3ac4..ff68de2 100644 --- a/lib/intelligence/adapters/groq.rb +++ b/lib/intelligence/adapters/groq.rb @@ -37,14 +37,7 @@ class Adapter < Generic::Adapter temperature Float tool array: true, as: :tools, &Tool.schema - tool_choice do - # one of 'auto', 'none' or 'function' - type Symbol, in: [ :auto, :none, :function ] - # the function parameters is required if you specify a type of 'function' - function do - name String - end - end + tool_choice String top_logprobs Integer top_p Float