aaa
This commit is contained in:
parent
1a3a68f424
commit
c11847bed9
@ -4685,7 +4685,7 @@ Otherwise, STAY SILENT. Do not respond just to be present or because you *can*.
|
||||
task_description: str,
|
||||
model: Optional[str] = None,
|
||||
temperature: float = 0.7,
|
||||
max_tokens: int = 500,
|
||||
max_tokens: int = 5000,
|
||||
response_format: Optional[Dict[str, Any]] = None, # Added response_format parameter
|
||||
json_schema: Optional[Dict[str, Any]] = None # Keep for backward compatibility or simple cases? Or remove? Let's remove for clarity.
|
||||
) -> Optional[Dict[str, Any]]:
|
||||
|
@ -315,7 +315,8 @@ Current State:
|
||||
model="openai/o4-mini-high", # Use the specified OpenAI model
|
||||
response_format=response_format_payload, # Enforce structured output
|
||||
task_description="Profile Update Decision",
|
||||
temperature=0.5 # Keep temperature for some creativity
|
||||
temperature=0.5, # Keep temperature for some creativity
|
||||
max_tokens=5000
|
||||
)
|
||||
|
||||
if result_json and isinstance(result_json, dict):
|
||||
|
Loading…
x
Reference in New Issue
Block a user