Skip to content

Commit 4ae12cd

Browse files
release: 0.4.0-alpha.4 (#295)
Automated Release PR --- ## 0.4.0-alpha.4 (2025-11-04) Full Changelog: [v0.4.0-alpha.3...v0.4.0-alpha.4](v0.4.0-alpha.3...v0.4.0-alpha.4) ### Features * **api:** remove agents types ([ae9e51b](ae9e51b)) ### Chores * **internal:** grammar fix (it's -&gt; its) ([2c3291c](2c3291c)) --- This pull request is managed by Stainless's [GitHub App](https://github.com/apps/stainless-app). The [semver version number](https://semver.org/#semantic-versioning-specification-semver) is based on included [commit messages](https://www.conventionalcommits.org/en/v1.0.0/). Alternatively, you can manually set the version number in the title of this pull request. For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request. 🔗 Stainless [website](https://www.stainlessapi.com) 📚 Read the [docs](https://app.stainlessapi.com/docs) 🙋 [Reach out](mailto:[email protected]) for help or questions --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 71f4f09 commit 4ae12cd

Some content is hidden

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

59 files changed

+24
-5876
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.4.0-alpha.3"
2+
".": "0.4.0-alpha.4"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 110
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-d95665c12a4155ef6ae80f76545152ac241d3ccab18148e4add99c0f528b9634.yml
3-
openapi_spec_hash: b6073c3436942c3ea6cd6c23f71a1cc4
4-
config_hash: 597b56196f814dd58c2cb2465aab9c9e
1+
configured_endpoints: 98
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-8ca5cbc3919d101274c4f94c6046257b410584281f4e05ee4dc0ebacd7adb355.yml
3+
openapi_spec_hash: ee5e6406a8e0bfb84f810c2123e86ea5
4+
config_hash: 99e1ad2a9fd4559a679d06f9115787a4

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.4.0-alpha.4 (2025-11-04)
4+
5+
Full Changelog: [v0.4.0-alpha.3...v0.4.0-alpha.4](https://github.com/llamastack/llama-stack-client-python/compare/v0.4.0-alpha.3...v0.4.0-alpha.4)
6+
7+
### Features
8+
9+
* **api:** remove agents types ([ae9e51b](https://github.com/llamastack/llama-stack-client-python/commit/ae9e51bbf79cff7ddc3e1c2e0edeec77891e2374))
10+
11+
12+
### Chores
13+
14+
* **internal:** grammar fix (it's -&gt; its) ([2c3291c](https://github.com/llamastack/llama-stack-client-python/commit/2c3291c59b92baa4666483c93eaf98e80de169ea))
15+
316
## 0.4.0-alpha.3 (2025-11-04)
417

518
Full Changelog: [v0.4.0-alpha.2...v0.4.0-alpha.3](https://github.com/llamastack/llama-stack-client-python/compare/v0.4.0-alpha.2...v0.4.0-alpha.3)

api.md

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,16 @@
22

33
```python
44
from llama_stack_client.types import (
5-
AgentConfig,
6-
CompletionMessage,
75
Document,
86
InterleavedContent,
97
InterleavedContentItem,
108
ParamType,
119
QueryConfig,
1210
QueryResult,
13-
ResponseFormat,
1411
SafetyViolation,
1512
SamplingParams,
1613
ScoringResult,
1714
SystemMessage,
18-
ToolCall,
19-
ToolResponseMessage,
20-
UserMessage,
2115
)
2216
```
2317

@@ -520,79 +514,6 @@ Methods:
520514
- <code title="delete /v1alpha/eval/benchmarks/{benchmark_id}/jobs/{job_id}">client.alpha.eval.jobs.<a href="./src/llama_stack_client/resources/alpha/eval/jobs.py">cancel</a>(job_id, \*, benchmark_id) -> None</code>
521515
- <code title="get /v1alpha/eval/benchmarks/{benchmark_id}/jobs/{job_id}">client.alpha.eval.jobs.<a href="./src/llama_stack_client/resources/alpha/eval/jobs.py">status</a>(job_id, \*, benchmark_id) -> <a href="./src/llama_stack_client/types/alpha/job.py">Job</a></code>
522516

523-
## Agents
524-
525-
Types:
526-
527-
```python
528-
from llama_stack_client.types.alpha import (
529-
InferenceStep,
530-
MemoryRetrievalStep,
531-
ShieldCallStep,
532-
ToolExecutionStep,
533-
ToolResponse,
534-
AgentCreateResponse,
535-
AgentRetrieveResponse,
536-
AgentListResponse,
537-
)
538-
```
539-
540-
Methods:
541-
542-
- <code title="post /v1alpha/agents">client.alpha.agents.<a href="./src/llama_stack_client/resources/alpha/agents/agents.py">create</a>(\*\*<a href="src/llama_stack_client/types/alpha/agent_create_params.py">params</a>) -> <a href="./src/llama_stack_client/types/alpha/agent_create_response.py">AgentCreateResponse</a></code>
543-
- <code title="get /v1alpha/agents/{agent_id}">client.alpha.agents.<a href="./src/llama_stack_client/resources/alpha/agents/agents.py">retrieve</a>(agent_id) -> <a href="./src/llama_stack_client/types/alpha/agent_retrieve_response.py">AgentRetrieveResponse</a></code>
544-
- <code title="get /v1alpha/agents">client.alpha.agents.<a href="./src/llama_stack_client/resources/alpha/agents/agents.py">list</a>(\*\*<a href="src/llama_stack_client/types/alpha/agent_list_params.py">params</a>) -> <a href="./src/llama_stack_client/types/alpha/agent_list_response.py">AgentListResponse</a></code>
545-
- <code title="delete /v1alpha/agents/{agent_id}">client.alpha.agents.<a href="./src/llama_stack_client/resources/alpha/agents/agents.py">delete</a>(agent_id) -> None</code>
546-
547-
### Session
548-
549-
Types:
550-
551-
```python
552-
from llama_stack_client.types.alpha.agents import (
553-
Session,
554-
SessionCreateResponse,
555-
SessionListResponse,
556-
)
557-
```
558-
559-
Methods:
560-
561-
- <code title="post /v1alpha/agents/{agent_id}/session">client.alpha.agents.session.<a href="./src/llama_stack_client/resources/alpha/agents/session.py">create</a>(agent_id, \*\*<a href="src/llama_stack_client/types/alpha/agents/session_create_params.py">params</a>) -> <a href="./src/llama_stack_client/types/alpha/agents/session_create_response.py">SessionCreateResponse</a></code>
562-
- <code title="get /v1alpha/agents/{agent_id}/session/{session_id}">client.alpha.agents.session.<a href="./src/llama_stack_client/resources/alpha/agents/session.py">retrieve</a>(session_id, \*, agent_id, \*\*<a href="src/llama_stack_client/types/alpha/agents/session_retrieve_params.py">params</a>) -> <a href="./src/llama_stack_client/types/alpha/agents/session.py">Session</a></code>
563-
- <code title="get /v1alpha/agents/{agent_id}/sessions">client.alpha.agents.session.<a href="./src/llama_stack_client/resources/alpha/agents/session.py">list</a>(agent_id, \*\*<a href="src/llama_stack_client/types/alpha/agents/session_list_params.py">params</a>) -> <a href="./src/llama_stack_client/types/alpha/agents/session_list_response.py">SessionListResponse</a></code>
564-
- <code title="delete /v1alpha/agents/{agent_id}/session/{session_id}">client.alpha.agents.session.<a href="./src/llama_stack_client/resources/alpha/agents/session.py">delete</a>(session_id, \*, agent_id) -> None</code>
565-
566-
### Steps
567-
568-
Types:
569-
570-
```python
571-
from llama_stack_client.types.alpha.agents import StepRetrieveResponse
572-
```
573-
574-
Methods:
575-
576-
- <code title="get /v1alpha/agents/{agent_id}/session/{session_id}/turn/{turn_id}/step/{step_id}">client.alpha.agents.steps.<a href="./src/llama_stack_client/resources/alpha/agents/steps.py">retrieve</a>(step_id, \*, agent_id, session_id, turn_id) -> <a href="./src/llama_stack_client/types/alpha/agents/step_retrieve_response.py">StepRetrieveResponse</a></code>
577-
578-
### Turn
579-
580-
Types:
581-
582-
```python
583-
from llama_stack_client.types.alpha.agents import (
584-
AgentTurnResponseStreamChunk,
585-
Turn,
586-
TurnResponseEvent,
587-
)
588-
```
589-
590-
Methods:
591-
592-
- <code title="post /v1alpha/agents/{agent_id}/session/{session_id}/turn">client.alpha.agents.turn.<a href="./src/llama_stack_client/resources/alpha/agents/turn.py">create</a>(session_id, \*, agent_id, \*\*<a href="src/llama_stack_client/types/alpha/agents/turn_create_params.py">params</a>) -> <a href="./src/llama_stack_client/types/alpha/agents/turn.py">Turn</a></code>
593-
- <code title="get /v1alpha/agents/{agent_id}/session/{session_id}/turn/{turn_id}">client.alpha.agents.turn.<a href="./src/llama_stack_client/resources/alpha/agents/turn.py">retrieve</a>(turn_id, \*, agent_id, session_id) -> <a href="./src/llama_stack_client/types/alpha/agents/turn.py">Turn</a></code>
594-
- <code title="post /v1alpha/agents/{agent_id}/session/{session_id}/turn/{turn_id}/resume">client.alpha.agents.turn.<a href="./src/llama_stack_client/resources/alpha/agents/turn.py">resume</a>(turn_id, \*, agent_id, session_id, \*\*<a href="src/llama_stack_client/types/alpha/agents/turn_resume_params.py">params</a>) -> <a href="./src/llama_stack_client/types/alpha/agents/turn.py">Turn</a></code>
595-
596517
# Beta
597518

598519
## Datasets

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "llama_stack_client"
3-
version = "0.4.0-alpha.3"
3+
version = "0.4.0-alpha.4"
44
description = "The official Python library for the llama-stack-client API"
55
dynamic = ["readme"]
66
license = "MIT"

src/llama_stack_client/_utils/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def is_given(obj: _T | NotGiven | Omit) -> TypeGuard[_T]:
139139
# Type safe methods for narrowing types with TypeVars.
140140
# The default narrowing for isinstance(obj, dict) is dict[unknown, unknown],
141141
# however this cause Pyright to rightfully report errors. As we know we don't
142-
# care about the contained types we can safely use `object` in it's place.
142+
# care about the contained types we can safely use `object` in its place.
143143
#
144144
# There are two separate functions defined, `is_*` and `is_*_t` for different use cases.
145145
# `is_*` is for when you're dealing with an unknown input

src/llama_stack_client/resources/alpha/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@
2222
AlphaResourceWithStreamingResponse,
2323
AsyncAlphaResourceWithStreamingResponse,
2424
)
25-
from .agents import (
26-
AgentsResource,
27-
AsyncAgentsResource,
28-
AgentsResourceWithRawResponse,
29-
AsyncAgentsResourceWithRawResponse,
30-
AgentsResourceWithStreamingResponse,
31-
AsyncAgentsResourceWithStreamingResponse,
32-
)
3325
from .inference import (
3426
InferenceResource,
3527
AsyncInferenceResource,
@@ -80,12 +72,6 @@
8072
"AsyncEvalResourceWithRawResponse",
8173
"EvalResourceWithStreamingResponse",
8274
"AsyncEvalResourceWithStreamingResponse",
83-
"AgentsResource",
84-
"AsyncAgentsResource",
85-
"AgentsResourceWithRawResponse",
86-
"AsyncAgentsResourceWithRawResponse",
87-
"AgentsResourceWithStreamingResponse",
88-
"AsyncAgentsResourceWithStreamingResponse",
8975
"AlphaResource",
9076
"AsyncAlphaResource",
9177
"AlphaResourceWithRawResponse",

src/llama_stack_client/resources/alpha/agents/__init__.py

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)