This commit is contained in:
Slipstream 2025-04-26 09:31:41 -06:00
parent 1a3a68f424
commit c11847bed9
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
2 changed files with 3 additions and 2 deletions

View File

@ -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]]:

View File

@ -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):