Skip to content

Commit

Permalink
regen
Browse files Browse the repository at this point in the history
  • Loading branch information
lfayoux committed Aug 23, 2024
1 parent 591b034 commit c345d32
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions cohere-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5839,7 +5839,7 @@ paths:
finish_reason:
$ref: "#/components/schemas/ChatFinishReason"
message:
$ref: "#/components/schemas/AssistantMessage"
$ref: "#/components/schemas/AssistantMessageResponse"
usage:
$ref: "#/components/schemas/Usage"
response-stream:
Expand Down Expand Up @@ -16070,6 +16070,37 @@ components:
- error
- content_blocked
- error_limit
AssistantMessageResponse:
x-fern-sdk-group-name: v2
type: object
description: A message from the assistant role can contain text and tool call
information.
required:
- role
properties:
role:
type: string
enum:
- assistant
tool_calls:
type: array
items:
$ref: "#/components/schemas/ToolCall-2"
tool_plan:
type: string
content:
type: array
items:
oneOf:
- $ref: "#/components/schemas/TextContent"
discriminator:
propertyName: type
mapping:
text: "#/components/schemas/TextContent"
citations:
type: array
items:
$ref: "#/components/schemas/Citation"
Usage:
x-fern-sdk-group-name: v2
type: object
Expand Down Expand Up @@ -16118,7 +16149,7 @@ components:
finish_reason:
$ref: "#/components/schemas/ChatFinishReason"
message:
$ref: "#/components/schemas/AssistantMessage"
$ref: "#/components/schemas/AssistantMessageResponse"
usage:
$ref: "#/components/schemas/Usage"
ChatStreamEventType:
Expand Down

0 comments on commit c345d32

Please sign in to comment.