fix mapping
This commit is contained in:
@@ -230,8 +230,13 @@ class LLMClient:
|
||||
visible_reply: bool = False,
|
||||
) -> dict[str, Any]:
|
||||
use_tools = bool(tools) and self.tools_enabled and not for_extraction
|
||||
chosen_model = model
|
||||
if chosen_model:
|
||||
from app.config import resolve_extract_model
|
||||
|
||||
chosen_model = resolve_extract_model(chosen_model) or None
|
||||
kwargs: dict[str, Any] = {
|
||||
"model": model or self.model,
|
||||
"model": chosen_model or self.model,
|
||||
"messages": messages,
|
||||
"temperature": temperature,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user