Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2,708 changes: 1,375 additions & 1,333 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ generation:
skipResponseBodyAssertions: false
preApplyUnionDiscriminators: true
typescript:
version: 0.11.2
version: 0.12.0
acceptHeaderEnum: false
additionalDependencies:
dependencies:
Expand Down Expand Up @@ -95,7 +95,7 @@ typescript:
flatteningOrder: parameters-first
formStringArrayEncodeMode: encoded-string
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: "tagged-only"
forwardCompatibleUnionsByDefault: tagged-only
generateExamples: true
imports:
option: openapi
Expand Down
105 changes: 23 additions & 82 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5863,57 +5863,57 @@ components:
- enabled
example:
enabled: true
AnthropicBase64PDFSource:
AnthropicBase64PdfSource:
type: object
properties:
data:
type:
type: string
enum:
- base64
media_type:
type: string
enum:
- application/pdf
type:
data:
type: string
enum:
- base64
required:
- data
- media_type
- type
- media_type
- data
example:
data: JVBERi0x...
media_type: application/pdf
type: base64
AnthropicPlainTextSourceResponse:
media_type: application/pdf
data: JVBERi0x...
AnthropicPlainTextSource:
type: object
properties:
data:
type:
type: string
enum:
- text
media_type:
type: string
enum:
- text/plain
type:
data:
type: string
enum:
- text
required:
- data
- media_type
- type
- media_type
- data
example:
data: Hello, world!
media_type: text/plain
type: text
media_type: text/plain
data: Hello, world!
AnthropicDocumentBlock:
type: object
properties:
citations:
$ref: '#/components/schemas/AnthropicCitationsConfig'
source:
anyOf:
- $ref: '#/components/schemas/AnthropicBase64PDFSource'
- $ref: '#/components/schemas/AnthropicPlainTextSourceResponse'
- $ref: '#/components/schemas/AnthropicBase64PdfSource'
- $ref: '#/components/schemas/AnthropicPlainTextSource'
title:
type: string
nullable: true
Expand Down Expand Up @@ -7688,7 +7688,7 @@ components:
example:
max_results: 5
search_context_size: medium
MessagesWebSearchServerTool:
OpenRouterWebSearchServerTool:
type: object
properties:
type:
Expand Down Expand Up @@ -7810,48 +7810,6 @@ components:
type: base64
media_type: image/jpeg
data: /9j/4AAQ...
AnthropicBase64PdfSource:
type: object
properties:
type:
type: string
enum:
- base64
media_type:
type: string
enum:
- application/pdf
data:
type: string
required:
- type
- media_type
- data
example:
type: base64
media_type: application/pdf
data: JVBERi0x...
AnthropicPlainTextSource:
type: object
properties:
type:
type: string
enum:
- text
media_type:
type: string
enum:
- text/plain
data:
type: string
required:
- type
- media_type
- data
example:
type: text
media_type: text/plain
data: Hello, world!
AnthropicUrlPdfSource:
type: object
properties:
Expand Down Expand Up @@ -8394,7 +8352,7 @@ components:
- type
- name
- $ref: '#/components/schemas/DatetimeServerTool'
- $ref: '#/components/schemas/MessagesWebSearchServerTool'
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
tool_choice:
oneOf:
- type: object
Expand Down Expand Up @@ -9876,23 +9834,6 @@ components:
- $ref: '#/components/schemas/ChatNamedToolChoice'
description: Tool choice configuration
example: auto
ChatWebSearchServerTool:
type: object
properties:
type:
type: string
enum:
- openrouter:web_search
parameters:
$ref: '#/components/schemas/WebSearchConfig'
required:
- type
description: 'OpenRouter built-in server tool: searches the web for current information'
example:
type: openrouter:web_search
parameters:
engine: auto
max_results: 5
ChatWebSearchShorthand:
type: object
properties:
Expand Down Expand Up @@ -10001,7 +9942,7 @@ components:
- type
- function
- $ref: '#/components/schemas/DatetimeServerTool'
- $ref: '#/components/schemas/ChatWebSearchServerTool'
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
- $ref: '#/components/schemas/ChatWebSearchShorthand'
description: Tool definition for function calling (regular function or OpenRouter built-in server tool)
example:
Expand Down
Loading
Loading