-
Notifications
You must be signed in to change notification settings - Fork 356
expose skills through the UI #1111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Peter Jausovec <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for exposing and managing skills through the UI by introducing skill container image references to the agent configuration. Users can now add, validate, and display skills (as container images) for declarative agents.
Key Changes
- Added
SkillForAgentinterface to type definitions withrefsarray and optionalinsecureSkipVerifyflag - Implemented skills UI section in the agent creation/edit form with validation for container image format and duplicates
- Added skills display in the agent details sidebar showing skill count and list
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| ui/src/types/index.ts | Added SkillForAgent interface and skills field to AgentSpec |
| ui/src/components/sidebars/AgentDetailsSidebar.tsx | Added Skills section to display skill refs with tooltip on hover |
| ui/src/components/AgentsProvider.tsx | Added skillRefs to form data and validation errors |
| ui/src/app/agents/new/page.tsx | Implemented skills input UI with validation for container images and duplicate detection |
| ui/src/app/actions/agents.ts | Added logic to include skills in agent spec when creating/updating agents |
| helm/kagent-crds/templates/kagent.dev_modelconfigs.yaml | Removed unrelated categories field from ModelConfig CRD |
| go/config/crd/bases/kagent.dev_modelconfigs.yaml | Removed unrelated categories field from ModelConfig CRD |
| helm/kagent-crds/templates/kagent.dev_agents.yaml | Large auto-generated CRD update with affinity, tolerations, and nodeSelector fields |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Peter Jausovec <[email protected]>
aae70e4 to
868850a
Compare
Noticed yesterday that the controllers manifests/CRDs were out of date - although it seems like these have since been updated (at least somewhat) by #1111. This PR regenerates them once again and also adds a CI check to try prevent them from drifting. Side Note: I've noticed that the category `kagent` seems to be being constantly added/removed - not sure why this is happening but we should probably look into that. --------- Signed-off-by: Brian Fox <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.