Skip to content

Commit

Permalink
Merge pull request #59 from togethercomputer/trying-stuff
Browse files Browse the repository at this point in the history
Trying to resolve TS error
  • Loading branch information
Nutlope authored Nov 27, 2024
2 parents eb9acbf + 15e86de commit c3bc7b9
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1142,42 +1142,7 @@ components:
- tool
content:
description: The content of the message, which can either be a simple string or a structured format.
oneOf:
- type: string
description: A plain text message.
- type: array
description: A structured message with mixed content types.
items:
type: object
oneOf:
- type: object
properties:
type:
type: string
enum:
- text
text:
type: string
required:
- type
- text
- type: object
properties:
type:
type: string
enum:
- image_url
image_url:
type: object
properties:
url:
type: string
description: The URL of the image as a plain string.
required:
- url
required:
- type
- image_url
type: string
required:
- role
- content
Expand Down

0 comments on commit c3bc7b9

Please sign in to comment.