Skip to content

Commit a8a8aa5

Browse files
authored
chore!: remove the agents (sessions and turns) API (#4055)
- Removes the deprecated agents (sessions and turns) API that was marked alpha in 0.3.0 - Cleans up unused imports and orphaned types after the API removal - Removes `SessionNotFoundError` and `AgentTurnInputType` which are no longer needed The agents API is completely superseded by the Responses + Conversations APIs, and the client SDK Agent class already uses those implementations. Corresponding client-side PR: llamastack/llama-stack-client-python#295
1 parent a6ddbae commit a8a8aa5

File tree

1,037 files changed

+2425
-311838
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,037 files changed

+2425
-311838
lines changed

client-sdks/stainless/openapi.yml

Lines changed: 943 additions & 2629 deletions
Large diffs are not rendered by default.

docs/static/experimental-llama-stack-spec.yaml

Lines changed: 527 additions & 2337 deletions
Large diffs are not rendered by default.

docs/static/llama-stack-spec.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8137,20 +8137,6 @@ components:
81378137
- error
81388138
title: ViolationLevel
81398139
description: Severity level of a safety violation.
8140-
AgentTurnInputType:
8141-
type: object
8142-
properties:
8143-
type:
8144-
type: string
8145-
const: agent_turn_input
8146-
default: agent_turn_input
8147-
description: >-
8148-
Discriminator type. Always "agent_turn_input"
8149-
additionalProperties: false
8150-
required:
8151-
- type
8152-
title: AgentTurnInputType
8153-
description: Parameter type for agent turn input.
81548140
AggregationFunctionType:
81558141
type: string
81568142
enum:
@@ -8393,7 +8379,6 @@ components:
83938379
- $ref: '#/components/schemas/UnionType'
83948380
- $ref: '#/components/schemas/ChatCompletionInputType'
83958381
- $ref: '#/components/schemas/CompletionInputType'
8396-
- $ref: '#/components/schemas/AgentTurnInputType'
83978382
discriminator:
83988383
propertyName: type
83998384
mapping:
@@ -8406,7 +8391,6 @@ components:
84068391
union: '#/components/schemas/UnionType'
84078392
chat_completion_input: '#/components/schemas/ChatCompletionInputType'
84088393
completion_input: '#/components/schemas/CompletionInputType'
8409-
agent_turn_input: '#/components/schemas/AgentTurnInputType'
84108394
params:
84118395
$ref: '#/components/schemas/ScoringFnParams'
84128396
additionalProperties: false
@@ -8487,7 +8471,6 @@ components:
84878471
- $ref: '#/components/schemas/UnionType'
84888472
- $ref: '#/components/schemas/ChatCompletionInputType'
84898473
- $ref: '#/components/schemas/CompletionInputType'
8490-
- $ref: '#/components/schemas/AgentTurnInputType'
84918474
discriminator:
84928475
propertyName: type
84938476
mapping:
@@ -8500,7 +8483,6 @@ components:
85008483
union: '#/components/schemas/UnionType'
85018484
chat_completion_input: '#/components/schemas/ChatCompletionInputType'
85028485
completion_input: '#/components/schemas/CompletionInputType'
8503-
agent_turn_input: '#/components/schemas/AgentTurnInputType'
85048486
RegisterScoringFunctionRequest:
85058487
type: object
85068488
properties:

0 commit comments

Comments
 (0)