Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/llama_stack_client/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
datasets,
inference,
providers,
responses,
telemetry,
vector_io,
benchmarks,
Expand Down Expand Up @@ -71,6 +72,7 @@ class LlamaStackClient(SyncAPIClient):
toolgroups: toolgroups.ToolgroupsResource
tools: tools.ToolsResource
tool_runtime: tool_runtime.ToolRuntimeResource
responses: responses.ResponsesResource
agents: agents.AgentsResource
datasets: datasets.DatasetsResource
eval: eval.EvalResource
Expand Down Expand Up @@ -153,6 +155,7 @@ def __init__(
self.toolgroups = toolgroups.ToolgroupsResource(self)
self.tools = tools.ToolsResource(self)
self.tool_runtime = tool_runtime.ToolRuntimeResource(self)
self.responses = responses.ResponsesResource(self)
self.agents = agents.AgentsResource(self)
self.datasets = datasets.DatasetsResource(self)
self.eval = eval.EvalResource(self)
Expand Down Expand Up @@ -287,6 +290,7 @@ class AsyncLlamaStackClient(AsyncAPIClient):
toolgroups: toolgroups.AsyncToolgroupsResource
tools: tools.AsyncToolsResource
tool_runtime: tool_runtime.AsyncToolRuntimeResource
responses: responses.AsyncResponsesResource
agents: agents.AsyncAgentsResource
datasets: datasets.AsyncDatasetsResource
eval: eval.AsyncEvalResource
Expand Down Expand Up @@ -369,6 +373,7 @@ def __init__(
self.toolgroups = toolgroups.AsyncToolgroupsResource(self)
self.tools = tools.AsyncToolsResource(self)
self.tool_runtime = tool_runtime.AsyncToolRuntimeResource(self)
self.responses = responses.AsyncResponsesResource(self)
self.agents = agents.AsyncAgentsResource(self)
self.datasets = datasets.AsyncDatasetsResource(self)
self.eval = eval.AsyncEvalResource(self)
Expand Down Expand Up @@ -504,6 +509,7 @@ def __init__(self, client: LlamaStackClient) -> None:
self.toolgroups = toolgroups.ToolgroupsResourceWithRawResponse(client.toolgroups)
self.tools = tools.ToolsResourceWithRawResponse(client.tools)
self.tool_runtime = tool_runtime.ToolRuntimeResourceWithRawResponse(client.tool_runtime)
self.responses = responses.ResponsesResourceWithRawResponse(client.responses)
self.agents = agents.AgentsResourceWithRawResponse(client.agents)
self.datasets = datasets.DatasetsResourceWithRawResponse(client.datasets)
self.eval = eval.EvalResourceWithRawResponse(client.eval)
Expand Down Expand Up @@ -533,6 +539,7 @@ def __init__(self, client: AsyncLlamaStackClient) -> None:
self.toolgroups = toolgroups.AsyncToolgroupsResourceWithRawResponse(client.toolgroups)
self.tools = tools.AsyncToolsResourceWithRawResponse(client.tools)
self.tool_runtime = tool_runtime.AsyncToolRuntimeResourceWithRawResponse(client.tool_runtime)
self.responses = responses.AsyncResponsesResourceWithRawResponse(client.responses)
self.agents = agents.AsyncAgentsResourceWithRawResponse(client.agents)
self.datasets = datasets.AsyncDatasetsResourceWithRawResponse(client.datasets)
self.eval = eval.AsyncEvalResourceWithRawResponse(client.eval)
Expand Down Expand Up @@ -564,6 +571,7 @@ def __init__(self, client: LlamaStackClient) -> None:
self.toolgroups = toolgroups.ToolgroupsResourceWithStreamingResponse(client.toolgroups)
self.tools = tools.ToolsResourceWithStreamingResponse(client.tools)
self.tool_runtime = tool_runtime.ToolRuntimeResourceWithStreamingResponse(client.tool_runtime)
self.responses = responses.ResponsesResourceWithStreamingResponse(client.responses)
self.agents = agents.AgentsResourceWithStreamingResponse(client.agents)
self.datasets = datasets.DatasetsResourceWithStreamingResponse(client.datasets)
self.eval = eval.EvalResourceWithStreamingResponse(client.eval)
Expand Down Expand Up @@ -595,6 +603,7 @@ def __init__(self, client: AsyncLlamaStackClient) -> None:
self.toolgroups = toolgroups.AsyncToolgroupsResourceWithStreamingResponse(client.toolgroups)
self.tools = tools.AsyncToolsResourceWithStreamingResponse(client.tools)
self.tool_runtime = tool_runtime.AsyncToolRuntimeResourceWithStreamingResponse(client.tool_runtime)
self.responses = responses.AsyncResponsesResourceWithStreamingResponse(client.responses)
self.agents = agents.AsyncAgentsResourceWithStreamingResponse(client.agents)
self.datasets = datasets.AsyncDatasetsResourceWithStreamingResponse(client.datasets)
self.eval = eval.AsyncEvalResourceWithStreamingResponse(client.eval)
Expand Down
14 changes: 14 additions & 0 deletions src/llama_stack_client/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@
ProvidersResourceWithStreamingResponse,
AsyncProvidersResourceWithStreamingResponse,
)
from .responses import (
ResponsesResource,
AsyncResponsesResource,
ResponsesResourceWithRawResponse,
AsyncResponsesResourceWithRawResponse,
ResponsesResourceWithStreamingResponse,
AsyncResponsesResourceWithStreamingResponse,
)
from .telemetry import (
TelemetryResource,
AsyncTelemetryResource,
Expand Down Expand Up @@ -204,6 +212,12 @@
"AsyncToolRuntimeResourceWithRawResponse",
"ToolRuntimeResourceWithStreamingResponse",
"AsyncToolRuntimeResourceWithStreamingResponse",
"ResponsesResource",
"AsyncResponsesResource",
"ResponsesResourceWithRawResponse",
"AsyncResponsesResourceWithRawResponse",
"ResponsesResourceWithStreamingResponse",
"AsyncResponsesResourceWithStreamingResponse",
"AgentsResource",
"AsyncAgentsResource",
"AgentsResourceWithRawResponse",
Expand Down
Loading
Loading