|
58 | 58 | spec: |
59 | 59 | description: AgentSpec defines the desired state of Agent |
60 | 60 | properties: |
61 | | - description: |
62 | | - description: |- |
63 | | - Description is an optional description for an agent. |
64 | | - If present, it's included in any "delegateToAgent" tool descriptions |
65 | | - type: string |
66 | 61 | humanContactChannels: |
67 | 62 | description: HumanContactChannels is a list of ContactChannel resources |
68 | 63 | that can be used for human interactions |
@@ -102,22 +97,6 @@ spec: |
102 | 97 | - name |
103 | 98 | type: object |
104 | 99 | type: array |
105 | | - subAgents: |
106 | | - description: |- |
107 | | - SubAgents is a list of local object references to other Agents |
108 | | - that can be delegated to as sub-agents. |
109 | | - items: |
110 | | - description: LocalObjectReference contains enough information to |
111 | | - locate the referenced resource in the same namespace |
112 | | - properties: |
113 | | - name: |
114 | | - description: Name of the referent |
115 | | - minLength: 1 |
116 | | - type: string |
117 | | - required: |
118 | | - - name |
119 | | - type: object |
120 | | - type: array |
121 | 100 | system: |
122 | 101 | description: System is the system prompt for the agent |
123 | 102 | minLength: 1 |
@@ -177,18 +156,6 @@ spec: |
177 | 156 | - name |
178 | 157 | type: object |
179 | 158 | type: array |
180 | | - validSubAgents: |
181 | | - description: ValidSubAgents is the list of sub-agents that were successfully |
182 | | - validated |
183 | | - items: |
184 | | - properties: |
185 | | - name: |
186 | | - description: Name of the sub-agent |
187 | | - type: string |
188 | | - required: |
189 | | - - name |
190 | | - type: object |
191 | | - type: array |
192 | 159 | type: object |
193 | 160 | type: object |
194 | 161 | served: true |
@@ -768,9 +735,6 @@ spec: |
768 | 735 | scope: Namespaced |
769 | 736 | versions: |
770 | 737 | - additionalPrinterColumns: |
771 | | - - jsonPath: .spec.agentRef.name |
772 | | - name: Agent |
773 | | - type: string |
774 | 738 | - jsonPath: .status.ready |
775 | 739 | name: Ready |
776 | 740 | type: boolean |
@@ -838,81 +802,13 @@ spec: |
838 | 802 | required: |
839 | 803 | - name |
840 | 804 | type: object |
841 | | - contextWindow: |
842 | | - description: |- |
843 | | - ContextWindow provides the initial conversation context when creating a Task. |
844 | | - If provided, contextWindow will be used and userMessage must be empty. |
845 | | - This will be copied to status.ContextWindow, which is the source of truth |
846 | | - for the ongoing conversation. |
847 | | - items: |
848 | | - description: Message represents a single message in the conversation |
849 | | - properties: |
850 | | - content: |
851 | | - description: Content is the message content |
852 | | - type: string |
853 | | - name: |
854 | | - description: Name is the name of the tool that was called |
855 | | - type: string |
856 | | - role: |
857 | | - description: Role is the role of the message sender (system, |
858 | | - user, assistant, tool) |
859 | | - enum: |
860 | | - - system |
861 | | - - user |
862 | | - - assistant |
863 | | - - tool |
864 | | - type: string |
865 | | - toolCallId: |
866 | | - description: ToolCallID is the unique identifier for this tool |
867 | | - call |
868 | | - type: string |
869 | | - toolCalls: |
870 | | - description: ToolCalls contains any tool calls requested by |
871 | | - this message |
872 | | - items: |
873 | | - description: ToolCall represents a request to call a tool |
874 | | - properties: |
875 | | - function: |
876 | | - description: Function contains the details of the function |
877 | | - to call |
878 | | - properties: |
879 | | - arguments: |
880 | | - description: Arguments contains the arguments to pass |
881 | | - to the function in JSON format |
882 | | - type: string |
883 | | - name: |
884 | | - description: Name is the name of the function to call |
885 | | - type: string |
886 | | - required: |
887 | | - - arguments |
888 | | - - name |
889 | | - type: object |
890 | | - id: |
891 | | - description: ID is the unique identifier for this tool |
892 | | - call |
893 | | - type: string |
894 | | - type: |
895 | | - description: Type indicates the type of tool call. Currently |
896 | | - only "function" is supported. |
897 | | - type: string |
898 | | - required: |
899 | | - - function |
900 | | - - id |
901 | | - - type |
902 | | - type: object |
903 | | - type: array |
904 | | - required: |
905 | | - - content |
906 | | - - role |
907 | | - type: object |
908 | | - type: array |
909 | 805 | userMessage: |
910 | | - description: |- |
911 | | - UserMessage is the message to send to the agent. |
912 | | - If provided, userMessage will be used and contextWindow must be empty. |
| 806 | + description: UserMessage is the message to send to the agent. |
| 807 | + minLength: 1 |
913 | 808 | type: string |
914 | 809 | required: |
915 | 810 | - agentRef |
| 811 | + - userMessage |
916 | 812 | type: object |
917 | 813 | status: |
918 | 814 | description: TaskStatus defines the observed state of Task |
@@ -1669,25 +1565,6 @@ subjects: |
1669 | 1565 | --- |
1670 | 1566 | apiVersion: v1 |
1671 | 1567 | kind: Service |
1672 | | -metadata: |
1673 | | - labels: |
1674 | | - app.kubernetes.io/managed-by: kustomize |
1675 | | - app.kubernetes.io/name: acp |
1676 | | - name: acp-controller-manager-api-service |
1677 | | - namespace: default |
1678 | | -spec: |
1679 | | - ports: |
1680 | | - - name: api |
1681 | | - port: 8082 |
1682 | | - protocol: TCP |
1683 | | - targetPort: api |
1684 | | - selector: |
1685 | | - app.kubernetes.io/name: acp |
1686 | | - control-plane: controller-manager |
1687 | | - type: ClusterIP |
1688 | | ---- |
1689 | | -apiVersion: v1 |
1690 | | -kind: Service |
1691 | 1568 | metadata: |
1692 | 1569 | labels: |
1693 | 1570 | app.kubernetes.io/managed-by: kustomize |
@@ -1735,17 +1612,15 @@ spec: |
1735 | 1612 | - --health-probe-bind-address=:8081 |
1736 | 1613 | command: |
1737 | 1614 | - /manager |
1738 | | - image: ghcr.io/humanlayer/agentcontrolplane:v0.6.1 |
| 1615 | + image: ghcr.io/humanlayer/agentcontrolplane:v0.5.1 |
1739 | 1616 | livenessProbe: |
1740 | 1617 | httpGet: |
1741 | 1618 | path: /healthz |
1742 | 1619 | port: 8081 |
1743 | 1620 | initialDelaySeconds: 15 |
1744 | 1621 | periodSeconds: 20 |
1745 | 1622 | name: manager |
1746 | | - ports: |
1747 | | - - containerPort: 8082 |
1748 | | - name: api |
| 1623 | + ports: [] |
1749 | 1624 | readinessProbe: |
1750 | 1625 | httpGet: |
1751 | 1626 | path: /readyz |
|
0 commit comments