|
|
@@ -148,9 +148,10 @@ func (r *AgentReconciler) reconcileComponent(ctx context.Context, agent *v1alpha
|
|
|
comp.Spec.Category = "Agent"
|
|
|
comp.Spec.Template = &tmpl
|
|
|
comp.Spec.Variables = map[string]string{
|
|
|
- "systemPrompt": agent.Spec.SystemPrompt,
|
|
|
- "agentName": agent.Name,
|
|
|
- "agentUid": string(agent.UID),
|
|
|
+ "systemPrompt": agent.Spec.SystemPrompt,
|
|
|
+ "agentName": agent.Name,
|
|
|
+ "agentUid": string(agent.UID),
|
|
|
+ "metadata.namespace": agent.Namespace,
|
|
|
}
|
|
|
comp.Spec.Dependencies = dependencies
|
|
|
if agent.Spec.StackRef != nil {
|