Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@peterj
Copy link
Collaborator

@peterj peterj commented Nov 18, 2025

Screenshot 2025-11-18 at 3 10 44 PM

Signed-off-by: Peter Jausovec <[email protected]>
Copilot AI review requested due to automatic review settings November 18, 2025 23:10
Copy link
Contributor

Copilot AI left a 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 SkillForAgent interface to type definitions with refs array and optional insecureSkipVerify flag
  • 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]>
@EItanya EItanya merged commit 92584b0 into main Nov 24, 2025
16 checks passed
@EItanya EItanya deleted the peterj/addskills branch November 24, 2025 22:05
EItanya pushed a commit that referenced this pull request Nov 25, 2025
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants