fix(llm): remove hardcoded temperature from dedupe check
Allow the model's default temperature setting to be used instead of forcing temperature=0 for duplicate detection.
This commit is contained in:
@@ -180,7 +180,6 @@ def check_duplicate(
|
|||||||
"model": model_name,
|
"model": model_name,
|
||||||
"messages": messages,
|
"messages": messages,
|
||||||
"timeout": 120,
|
"timeout": 120,
|
||||||
"temperature": 0,
|
|
||||||
}
|
}
|
||||||
if api_key:
|
if api_key:
|
||||||
completion_kwargs["api_key"] = api_key
|
completion_kwargs["api_key"] = api_key
|
||||||
|
|||||||
Reference in New Issue
Block a user