Skip to content

Commit

Permalink
regenerate bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
kyriediculous committed Dec 28, 2024
1 parent cfb6d6e commit 5e5da0e
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 104 deletions.
32 changes: 24 additions & 8 deletions runner/gateway.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,7 @@ components:
AudioResponse:
properties:
audio:
allOf:
- $ref: '#/components/schemas/MediaURL'
$ref: '#/components/schemas/MediaURL'
description: The generated audio.
type: object
required:
Expand Down Expand Up @@ -827,8 +826,7 @@ components:
HTTPError:
properties:
detail:
allOf:
- $ref: '#/components/schemas/APIError'
$ref: '#/components/schemas/APIError'
description: Detailed error information.
type: object
required:
Expand Down Expand Up @@ -868,6 +866,22 @@ components:
- text
title: ImageToTextResponse
description: Response model for text generation.
LLMChoice:
properties:
delta:
$ref: '#/components/schemas/LLMMessage'
index:
type: integer
title: Index
finish_reason:
type: string
title: Finish Reason
nullable: true
type: object
required:
- delta
- index
title: LLMChoice
LLMMessage:
properties:
role:
Expand Down Expand Up @@ -918,9 +932,11 @@ components:
title: LLMRequest
LLMResponse:
properties:
response:
type: string
title: Response
choices:
items:
$ref: '#/components/schemas/LLMChoice'
type: array
title: Choices
tokens_used:
type: integer
title: Tokens Used
Expand All @@ -935,7 +951,7 @@ components:
title: Created
type: object
required:
- response
- choices
- tokens_used
- id
- model
Expand Down
32 changes: 24 additions & 8 deletions runner/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,7 @@ components:
AudioResponse:
properties:
audio:
allOf:
- $ref: '#/components/schemas/MediaURL'
$ref: '#/components/schemas/MediaURL'
description: The generated audio.
type: object
required:
Expand Down Expand Up @@ -919,8 +918,7 @@ components:
HTTPError:
properties:
detail:
allOf:
- $ref: '#/components/schemas/APIError'
$ref: '#/components/schemas/APIError'
description: Detailed error information.
type: object
required:
Expand Down Expand Up @@ -1014,6 +1012,22 @@ components:
- text
title: ImageToTextResponse
description: Response model for text generation.
LLMChoice:
properties:
delta:
$ref: '#/components/schemas/LLMMessage'
index:
type: integer
title: Index
finish_reason:
type: string
title: Finish Reason
nullable: true
type: object
required:
- delta
- index
title: LLMChoice
LLMMessage:
properties:
role:
Expand Down Expand Up @@ -1064,9 +1078,11 @@ components:
title: LLMRequest
LLMResponse:
properties:
response:
type: string
title: Response
choices:
items:
$ref: '#/components/schemas/LLMChoice'
type: array
title: Choices
tokens_used:
type: integer
title: Tokens Used
Expand All @@ -1081,7 +1097,7 @@ components:
title: Created
type: object
required:
- response
- choices
- tokens_used
- id
- model
Expand Down
184 changes: 96 additions & 88 deletions worker/runner.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e5da0e

Please sign in to comment.