Skip to content

Commit

Permalink
no code change: update for spec docs preservation on extended scalar …
Browse files Browse the repository at this point in the history
…type 'ParallelToolCalls'
  • Loading branch information
trrwilson committed Jan 25, 2025
1 parent bd13723 commit b93a2d0
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,8 @@ components:
tool_choice:
$ref: '#/components/schemas/OpenAI.ChatCompletionToolChoiceOption'
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/OpenAI.ParallelToolCalls'
default: true
user:
type: string
Expand Down Expand Up @@ -2844,6 +2845,9 @@ components:
allOf:
- $ref: '#/components/schemas/OpenAI.MessageContent'
description: The text content that is part of a message.
OpenAI.ParallelToolCalls:
type: boolean
description: Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
OpenAI.ResponseFormatJsonSchemaSchema:
type: object
additionalProperties: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,8 @@ components:
tool_choice:
$ref: '#/components/schemas/OpenAI.ChatCompletionToolChoiceOption'
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/OpenAI.ParallelToolCalls'
default: true
user:
type: string
Expand Down Expand Up @@ -2856,6 +2857,9 @@ components:
allOf:
- $ref: '#/components/schemas/OpenAI.MessageContent'
description: The text content that is part of a message.
OpenAI.ParallelToolCalls:
type: boolean
description: Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
OpenAI.ResponseFormatJsonSchemaSchema:
type: object
additionalProperties: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,8 @@ components:
tool_choice:
$ref: '#/components/schemas/OpenAI.ChatCompletionToolChoiceOption'
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/OpenAI.ParallelToolCalls'
default: true
user:
type: string
Expand Down Expand Up @@ -2534,6 +2535,9 @@ components:
allOf:
- $ref: '#/components/schemas/OpenAI.MessageContent'
description: The text content that is part of a message.
OpenAI.ParallelToolCalls:
type: boolean
description: Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
OpenAI.ResponseFormatJsonSchemaSchema:
type: object
additionalProperties: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,8 @@ components:
tool_choice:
$ref: '#/components/schemas/OpenAI.ChatCompletionToolChoiceOption'
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/OpenAI.ParallelToolCalls'
default: true
user:
type: string
Expand Down Expand Up @@ -2935,6 +2936,9 @@ components:
allOf:
- $ref: '#/components/schemas/OpenAI.MessageContent'
description: The text content that is part of a message.
OpenAI.ParallelToolCalls:
type: boolean
description: Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
OpenAI.ResponseFormatJsonSchemaSchema:
type: object
additionalProperties: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,8 @@ components:
tool_choice:
$ref: '#/components/schemas/OpenAI.ChatCompletionToolChoiceOption'
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/OpenAI.ParallelToolCalls'
default: true
user:
type: string
Expand Down Expand Up @@ -3003,6 +3004,9 @@ components:
allOf:
- $ref: '#/components/schemas/OpenAI.MessageContent'
description: The text content that is part of a message.
OpenAI.ParallelToolCalls:
type: boolean
description: Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
OpenAI.PredictionContent:
type: object
required:
Expand Down
21 changes: 15 additions & 6 deletions .openapi3/openapi3-openai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5177,7 +5177,8 @@ components:
tool_choice:
$ref: '#/components/schemas/ChatCompletionToolChoiceOption'
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/ParallelToolCalls'
default: true
user:
type: string
Expand Down Expand Up @@ -6648,7 +6649,8 @@ components:
- $ref: '#/components/schemas/AssistantsApiToolChoiceOption'
nullable: true
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/ParallelToolCalls'
default: true
response_format:
allOf:
Expand Down Expand Up @@ -6836,7 +6838,8 @@ components:
- $ref: '#/components/schemas/AssistantsApiToolChoiceOption'
nullable: true
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/ParallelToolCalls'
default: true
response_format:
allOf:
Expand Down Expand Up @@ -7397,7 +7400,8 @@ components:
$ref: '#/components/schemas/ChatCompletionTool'
description: A list of tools the model may generate JSON inputs for.
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/ParallelToolCalls'
default: true
functions:
type: array
Expand Down Expand Up @@ -7499,7 +7503,8 @@ components:
$ref: '#/components/schemas/ChatCompletionTool'
description: A list of tools the model may generate JSON inputs for.
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/ParallelToolCalls'
default: true
preferred_completion:
type: array
Expand Down Expand Up @@ -9190,6 +9195,9 @@ components:
allOf:
- $ref: '#/components/schemas/FileChunkingStrategyResponseParam'
description: This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the `chunking_strategy` concept was introduced in the API.
ParallelToolCalls:
type: boolean
description: Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
PredictionContent:
type: object
required:
Expand Down Expand Up @@ -12290,7 +12298,8 @@ components:
- $ref: '#/components/schemas/AssistantsApiToolChoiceOption'
nullable: true
parallel_tool_calls:
type: boolean
allOf:
- $ref: '#/components/schemas/ParallelToolCalls'
default: true
response_format:
allOf:
Expand Down
2 changes: 1 addition & 1 deletion .typespec/common/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ model ResponseFormatJsonSchema extends OmniTypedResponseFormat {
}

/** Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. */
alias ParallelToolCalls = boolean;
scalar ParallelToolCalls extends boolean;

/** Usage statistics for the completion request. */
model CompletionUsage {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Date: Wed Jan 22 19:03:08 2025 +0000

Ingestion tool: https://[email protected]/project-argos/Sorento/_git/sdk
```
commit 7ec86ce9fbb544f7542979b601aaaec8c37263f6 (HEAD -> user/travisw/migrate-spec-ingestion-tool, origin/user/travisw/migrate-spec-ingestion-tool)
commit a81ceece96ec8634d1fd8b361b2e60f3b3f1fd62 (HEAD -> user/travisw/migrate-spec-ingestion-tool, origin/user/travisw/migrate-spec-ingestion-tool)
Author: Travis Wilson <[email protected]>
Date: Wed Jan 22 12:43:20 2025 -0800
Date: Fri Jan 24 16:35:17 2025 -0800
```

There are some deltas:
Expand Down

0 comments on commit b93a2d0

Please sign in to comment.