Testing Reasoning

This commit is contained in:
jknapp 2025-03-16 12:06:11 -07:00
parent c16008aa35
commit 8564fc899b

View File

@ -148,7 +148,7 @@ class Pipeline:
payload = {"modelId": model_id, payload = {"modelId": model_id,
"messages": processed_messages, "messages": processed_messages,
"system": [{'text': system_message if system_message else 'you are an intelligent ai assistant'}], "system": [{'text': system_message if system_message else 'you are an intelligent ai assistant'}],
"inferenceConfig": {"temperature": body.get("temperature", 0.5)}, "inferenceConfig": {"temperature": 1},
"additionalModelRequestFields": reasoning_config "additionalModelRequestFields": reasoning_config
} }
# if body.get("stream", False): # if body.get("stream", False):