Repository navigation
Fix #232: Add descriptions for tools and agents deployed from images - #549
Conversation
|
@RyanJenkins99 thanks for your PR - before we can review it, could you please amend your commit to pass the DCO check ? Instructions are in the link to the DCO check |
777f670 to
32794b0
Compare
|
@pdettori thanks for letting me know! That change has been made. |
|
@RyanJenkins99 thanks, could you please fix the linting error ? |
636977a to
418c1ed
Compare
|
@RyanJenkins99 please see CI issues above - need also rebasing |
418c1ed to
04aeaf7
Compare
|
I tested in my local env by first deploying kagenti and then running This is caused by There is also a second issue in the backend log but that may not be directly related to this PR: This is due to code that does |
Thanks for testing, You're right on both issues: Issue 1 (PR #549): The CreateToolRequest model is missing the description field. When I added the description logic to _build_tool_deployment_manifest, I forgot to add the corresponding field to the As for Issue 2: I think I can just
|
bcae314 to
2f18e4f
Compare
|
@RyanJenkins99 thanks, I ran a quick test with
|
I hope this validates the update! Seems to be working for me now. |
Signed-off-by: Ryan Jenkins <[email protected]>
Signed-off-by: Ryan Jenkins <[email protected]>
Signed-off-by: Ryan Jenkins <[email protected]>
Apply ruff formatting to test_env_var_validation.py Co-Authored-By: Claude Sonnet 4.5 <[email protected]> Signed-off-by: Ryan Jenkins <[email protected]>
…#549 PR rossoctl#549 should only contain description field changes for agents/tools deployed from images vs built from source. The environment variable validation logic from PR rossoctl#548 was incorrectly included and has been removed. Changes removed: - Backend validation in agents.py and tools.py - Frontend validation in ImportAgentPage.tsx and ImportToolPage.tsx - Test file test_env_var_validation.py The description field changes from PR rossoctl#549 are preserved. Signed-off-by: Ryan Jenkins <[email protected]>
The CreateToolRequest model was missing the description field, causing an AttributeError when trying to deploy tools from images. The _build_tool_deployment_manifest function expects request.description but it wasn't defined in the Pydantic model. Fixes error: 'CreateToolRequest' object has no attribute 'description' Signed-off-by: Ryan Jenkins <[email protected]>
Signed-off-by: Ryan Jenkins <[email protected]>
Signed-off-by: Ryan Jenkins <[email protected]>
3f45ee3 to
301a622
Compare
pdettori
left a comment
There was a problem hiding this comment.
/lgtm - Thank you @RyanJenkins99
…#549 PR rossoctl#549 should only contain description field changes for agents/tools deployed from images vs built from source. The environment variable validation logic from PR rossoctl#548 was incorrectly included and has been removed. Changes removed: - Backend validation in agents.py and tools.py - Frontend validation in ImportAgentPage.tsx and ImportToolPage.tsx - Test file test_env_var_validation.py The description field changes from PR rossoctl#549 are preserved. Signed-off-by: Ryan Jenkins <[email protected]>



Closes #232
Problem
Tools and agents deployed from existing images display "No description" in catalog pages because the description field was missing from their specs.
Solution
Added description field when creating manifests:
Tools:
Tool 'name' deployed from existing image 'image:tag'Agents:
Agent 'name' built from sourceAgent 'name' deployed from existing image 'image:tag'Changes
tools.py- Add description to MCPServer specagents.py- Add dynamic description to Agent spec