Testing Reasoning
This commit is contained in:
parent
c16008aa35
commit
8564fc899b
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user