Skip to content

Commit

Permalink
preview
Browse files Browse the repository at this point in the history
  • Loading branch information
lfayoux committed Aug 23, 2024
1 parent a5767bf commit 247f9b4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cohere-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6150,8 +6150,8 @@ paths:
)

for event in response:
if event.event_type == "text-generation":
print(event.text, end='')
if event.type == "content-delta":
print(event.delta.message.content.text, end='')
- code-samples:
- sdk: typescript
name: Tools
Expand Down Expand Up @@ -15903,9 +15903,11 @@ components:
tool_plan:
type: string
content:
type: array
items:
$ref: "#/components/schemas/TextContent"
oneOf:
- type: string
- type: array
items:
$ref: "#/components/schemas/TextContent"
citations:
type: array
items:
Expand Down Expand Up @@ -15966,8 +15968,6 @@ components:
$ref: "#/components/schemas/Content"
documents:
type: array
x-fern-audiences:
- public
minItems: 0
description: Documents seen by the model when generating the reply.
items:
Expand Down

0 comments on commit 247f9b4

Please sign in to comment.