diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml index e3772e77..403ac3ec 100644 --- a/src/libs/Cohere/openapi.yaml +++ b/src/libs/Cohere/openapi.yaml @@ -2199,7 +2199,7 @@ paths: (async () => { const response = await cohere.chat({ - model: 'command-a-03-2025', + model: 'command-a-plus-05-2026', messages: [ { role: 'user', @@ -2220,7 +2220,7 @@ paths: response = co.chat( - model="command-a-03-2025", + model="command-a-plus-05-2026", messages=[{"role": "user", "content": "Tell me about LLMs"}], ) @@ -2239,7 +2239,7 @@ paths: async def main(): response = await co.chat( - model="command-a-03-2025", + model="command-a-plus-05-2026", messages=[{"role": "user", "content": "Tell me about LLMs"}], ) print(response) @@ -2267,7 +2267,7 @@ paths: resp, err := co.V2.Chat( context.TODO(), &cohere.V2ChatRequest{ - Model: "command-a-03-2025", + Model: "command-a-plus-05-2026", Messages: cohere.ChatMessages{ { Role: "user", @@ -2313,7 +2313,7 @@ paths: .v2() .chat( V2ChatRequest.builder() - .model("command-a-03-2025") + .model("command-a-plus-05-2026") .messages( List.of( ChatMessageV2.user( @@ -2334,7 +2334,7 @@ paths: --header 'content-type: application/json' \ --header "Authorization: bearer $CO_API_KEY" \ --data '{ - "model": "command-a-03-2025", + "model": "command-a-plus-05-2026", "messages": [ { "role": "user", @@ -2343,7 +2343,7 @@ paths: ] }' request: - model: 'command-a-03-2025' + model: 'command-a-plus-05-2026' messages: - role: 'user' content: 'Tell me about LLMs' @@ -2435,7 +2435,7 @@ paths: (async () => { const response = await cohere.chat({ - model: 'command-a-03-2025', + model: 'command-a-plus-05-2026', messages: [ { role: 'user', @@ -2486,7 +2486,7 @@ paths: response = co.chat( - model="command-a-03-2025", + model="command-a-plus-05-2026", messages=[{ "role": "user", "content": "Who is more popular: Nsync or Backstreet Boys?" @@ -2552,7 +2552,7 @@ paths: .v2() .chat( V2ChatRequest.builder() - .model("command-a-03-2025") + .model("command-a-plus-05-2026") .messages( List.of( ChatMessageV2.user( @@ -2691,7 +2691,7 @@ paths: resp, err := co.V2.Chat( context.TODO(), &cohere.V2ChatRequest{ - Model: "command-a-03-2025", + Model: "command-a-plus-05-2026", Messages: cohere.ChatMessages{ { Role: "user", @@ -2754,7 +2754,7 @@ paths: --header 'content-type: application/json' \ --header "Authorization: bearer $CO_API_KEY" \ --data '{ - "model": "command-a-03-2025", + "model": "command-a-plus-05-2026", "documents": [ { "data": { @@ -2789,7 +2789,7 @@ paths: ] }' request: - model: 'command-a-03-2025' + model: 'command-a-plus-05-2026' documents: - data: content: 'CSPC: Backstreet Boys Popularity Analysis - ChartMasters' @@ -3265,7 +3265,7 @@ paths: (async () => { const stream = await cohere.chatStream({ - model: 'command-a-03-2025', + model: 'command-a-plus-05-2026', messages: [ { role: 'user', @@ -3290,7 +3290,7 @@ paths: response = co.chat_stream( - model="command-a-03-2025", + model="command-a-plus-05-2026", messages=[{"role": "user", "content": "Tell me about LLMs"}], ) @@ -3324,7 +3324,7 @@ paths: .v2() .chatStream( V2ChatStreamRequest.builder() - .model("command-a-03-2025") + .model("command-a-plus-05-2026") .messages( List.of( ChatMessageV2.user( @@ -3373,7 +3373,7 @@ paths: resp, err := co.V2.ChatStream( context.TODO(), &cohere.V2ChatStreamRequest{ - Model: "command-a-03-2025", + Model: "command-a-plus-05-2026", Messages: cohere.ChatMessages{ { Role: "user", @@ -3419,7 +3419,7 @@ paths: --header "Authorization: bearer $CO_API_KEY" \ --data '{ "stream": true, - "model": "command-a-03-2025", + "model": "command-a-plus-05-2026", "messages": [ { "role": "user", @@ -3428,7 +3428,7 @@ paths: ] }' request: - model: 'command-a-03-2025' + model: 'command-a-plus-05-2026' messages: - role: 'user' content: 'Tell me about LLMs' @@ -3671,7 +3671,7 @@ paths: (async () => { const response = await cohere.chat({ - model: 'command-a-03-2025', + model: 'command-a-plus-05-2026', messages: [ { role: 'user', @@ -3900,7 +3900,7 @@ paths: resp, err := co.V2.Chat( context.TODO(), &cohere.V2ChatRequest{ - Model: "command-a-03-2025", + Model: "command-a-plus-05-2026", Messages: cohere.ChatMessages{ { Role: "user", @@ -3963,7 +3963,7 @@ paths: --header 'content-type: application/json' \ --header "Authorization: bearer $CO_API_KEY" \ --data '{ - "model": "command-a-03-2025", + "model": "command-a-plus-05-2026", "tools": [ { "type": "function", @@ -4342,7 +4342,7 @@ paths: (async () => { const stream = await cohere.chatStream({ - model: 'command-a-03-2025', + model: 'command-a-plus-05-2026', documents: [ { data: { @@ -4395,7 +4395,7 @@ paths: response = co.chat_stream( - model="command-a-03-2025", + model="command-a-plus-05-2026", messages=[{"role": "user", "content": "Who is more popular: Nsync or Backstreet Boys?"}], documents=[ { @@ -4455,7 +4455,7 @@ paths: .v2() .chatStream( V2ChatStreamRequest.builder() - .model("command-a-03-2025") + .model("command-a-plus-05-2026") .messages( List.of( ChatMessageV2.user( @@ -4522,7 +4522,7 @@ paths: resp, err := co.V2.ChatStream( context.TODO(), &cohere.V2ChatStreamRequest{ - Model: "command-a-03-2025", + Model: "command-a-plus-05-2026", Documents: []*cohere.V2ChatStreamRequestDocumentsItem{ { Document: &cohere.Document{ @@ -4600,7 +4600,7 @@ paths: --header "Authorization: bearer $CO_API_KEY" \ --data "{ \"stream\": true, - \"model\": \"command-a-03-2025\", + \"model\": \"command-a-plus-05-2026\", \"documents\": [ { \"data\": { @@ -4636,7 +4636,7 @@ paths: }" request: stream: true - model: 'command-a-03-2025' + model: 'command-a-plus-05-2026' documents: - data: content: 'CSPC: Backstreet Boys Popularity Analysis - ChartMasters' @@ -4872,7 +4872,7 @@ paths: (async () => { const stream = await cohere.chatStream({ - model: 'command-a-03-2025', + model: 'command-a-plus-05-2026', messages: [ { role: 'user', @@ -4937,7 +4937,7 @@ paths: response = co.chat_stream( - model="command-a-03-2025", + model="command-a-plus-05-2026", messages=[ { "role": "user", @@ -5015,7 +5015,7 @@ paths: .v2() .chatStream( V2ChatStreamRequest.builder() - .model("command-a-03-2025") + .model("command-a-plus-05-2026") .tools( List.of( ToolV2.builder() @@ -5108,7 +5108,7 @@ paths: resp, err := co.V2.ChatStream( context.TODO(), &cohere.V2ChatStreamRequest{ - Model: "command-a-03-2025", + Model: "command-a-plus-05-2026", Messages: cohere.ChatMessages{ { Role: "user", @@ -5189,7 +5189,7 @@ paths: --header "Authorization: bearer $CO_API_KEY" \ --data '{ "stream": true, - "model": "command-a-03-2025", + "model": "command-a-plus-05-2026", "tools": [ { "type": "function", @@ -5233,7 +5233,7 @@ paths: }' request: stream: true - model: 'command-a-03-2025' + model: 'command-a-plus-05-2026' tools: - type: 'function' function: