Chat
Chat
ChatCompletions
Creates a model response for the given chat conversation.
client.agents.chat.completions.create(CompletionCreateParamsbody, RequestOptionsoptions?): CompletionCreateResponse { id, choices, created, 3 more } | Stream<ChatCompletionChunk { id, choices, created, 3 more } >
/chat/completions?agent=true