@@ -17,7 +17,6 @@ import (
17
17
"github.com/llamastack/llama-stack-client-go/option"
18
18
"github.com/llamastack/llama-stack-client-go/packages/param"
19
19
"github.com/llamastack/llama-stack-client-go/packages/respjson"
20
- "github.com/llamastack/llama-stack-client-go/shared"
21
20
"github.com/llamastack/llama-stack-client-go/shared/constant"
22
21
)
23
22
@@ -90,7 +89,7 @@ func (r *AgentService) Delete(ctx context.Context, agentID string, opts ...optio
90
89
// An inference step in an agent turn.
91
90
type InferenceStep struct {
92
91
// The response from the LLM.
93
- ModelResponse shared. CompletionMessage `json:"model_response,required"`
92
+ ModelResponse CompletionMessage `json:"model_response,required"`
94
93
// The ID of the step.
95
94
StepID string `json:"step_id,required"`
96
95
// Type of the step in an agent turn.
@@ -123,7 +122,7 @@ func (r *InferenceStep) UnmarshalJSON(data []byte) error {
123
122
// A memory retrieval step in an agent turn.
124
123
type MemoryRetrievalStep struct {
125
124
// The context retrieved from the vector databases.
126
- InsertedContext shared. InterleavedContentUnion `json:"inserted_context,required"`
125
+ InsertedContext InterleavedContentUnion `json:"inserted_context,required"`
127
126
// The ID of the step.
128
127
StepID string `json:"step_id,required"`
129
128
// Type of the step in an agent turn.
@@ -169,7 +168,7 @@ type ShieldCallStep struct {
169
168
// The time the step started.
170
169
StartedAt time.Time `json:"started_at" format:"date-time"`
171
170
// The violation from the shield call.
172
- Violation shared. SafetyViolation `json:"violation"`
171
+ Violation SafetyViolation `json:"violation"`
173
172
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
174
173
JSON struct {
175
174
StepID respjson.Field
@@ -196,7 +195,7 @@ type ToolExecutionStep struct {
196
195
// Type of the step in an agent turn.
197
196
StepType constant.ToolExecution `json:"step_type,required"`
198
197
// The tool calls to execute.
199
- ToolCalls []shared. ToolCall `json:"tool_calls,required"`
198
+ ToolCalls []ToolCall `json:"tool_calls,required"`
200
199
// The tool responses from the tool calls.
201
200
ToolResponses []ToolResponse `json:"tool_responses,required"`
202
201
// The ID of the turn.
@@ -230,7 +229,7 @@ type ToolResponse struct {
230
229
// Unique identifier for the tool call this response is for
231
230
CallID string `json:"call_id,required"`
232
231
// The response content from the tool
233
- Content shared. InterleavedContentUnion `json:"content,required"`
232
+ Content InterleavedContentUnion `json:"content,required"`
234
233
// Name of the tool that was invoked
235
234
ToolName ToolResponseToolName `json:"tool_name,required"`
236
235
// (Optional) Additional metadata about the tool response
@@ -330,7 +329,7 @@ type ToolResponseParam struct {
330
329
// Unique identifier for the tool call this response is for
331
330
CallID string `json:"call_id,required"`
332
331
// The response content from the tool
333
- Content shared. InterleavedContentUnionParam `json:"content,omitzero,required"`
332
+ Content InterleavedContentUnionParam `json:"content,omitzero,required"`
334
333
// Name of the tool that was invoked
335
334
ToolName ToolResponseToolName `json:"tool_name,omitzero,required"`
336
335
// (Optional) Additional metadata about the tool response
@@ -398,7 +397,7 @@ func (r *AgentNewResponse) UnmarshalJSON(data []byte) error {
398
397
// An agent instance with configuration and metadata.
399
398
type AgentGetResponse struct {
400
399
// Configuration settings for the agent
401
- AgentConfig shared. AgentConfig `json:"agent_config,required"`
400
+ AgentConfig AgentConfig `json:"agent_config,required"`
402
401
// Unique identifier for the agent
403
402
AgentID string `json:"agent_id,required"`
404
403
// Timestamp when the agent was created
@@ -497,7 +496,7 @@ func (r *AgentListResponseDataUnion) UnmarshalJSON(data []byte) error {
497
496
498
497
type AgentNewParams struct {
499
498
// The configuration for the agent.
500
- AgentConfig shared. AgentConfigParam `json:"agent_config,omitzero,required"`
499
+ AgentConfig AgentConfigParam `json:"agent_config,omitzero,required"`
501
500
paramObj
502
501
}
503
502
0 commit comments