Chat Completions
Image Analysis
Video Analysis
Structured Outputs
Document Analysis
Agent Execution
Pass optional skills inconfig.
Execution Mode
execution_mode reports whether the server replayed a skill’s cached pipeline.py or ran the full LLM agent loop. See program execution.
The Node.js SDK cannot select the mode yet.
AgentExecutionConfig serializes only:promptjsonSchemaskillsserviceTierorchestrationMode
mode key is dropped before the request is sent. Use the Python SDK or a raw cURL request to force a mode.SDK Reference
client.agent.execute()
Parameters:
Returns:
Promise<AgentExecutionResponse> with execution_mode set to the path taken.
client.agent.completions.create()
Parameters:
Returns:
Promise<ChatCompletionResponse>