-
Notifications
You must be signed in to change notification settings - Fork 22
MGMT-21690: chatbot installation asks again for host and cluster IDs #195
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -117,6 +117,14 @@ | |||||||||||||||||||||||||||||||||
| arguments: | ||||||||||||||||||||||||||||||||||
| cluster_id: "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" | ||||||||||||||||||||||||||||||||||
| expected_keywords: ["Discovery ISO"] | ||||||||||||||||||||||||||||||||||
| - eval_id: host_booted_but_not_discovered | ||||||||||||||||||||||||||||||||||
| eval_query: I booted the hosts | ||||||||||||||||||||||||||||||||||
| eval_types: [tool_eval, response_eval:accuracy] | ||||||||||||||||||||||||||||||||||
| expected_tool_calls: | ||||||||||||||||||||||||||||||||||
| - - tool_name: cluster_info | ||||||||||||||||||||||||||||||||||
| arguments: | ||||||||||||||||||||||||||||||||||
| cluster_id: "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" | ||||||||||||||||||||||||||||||||||
| expected_response: "hosts hasn't been discovered yet." | ||||||||||||||||||||||||||||||||||
|
Comment on lines
+120
to
+127
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Make the “hosts not discovered” assertion less brittle (and fix grammar). Exact-phrase accuracy on a short sentence will be fragile; also grammar should be “haven’t.” - eval_types: [tool_eval, response_eval:accuracy]
+ eval_types: [tool_eval, response_eval:sub-string]
expected_tool_calls:
- - tool_name: cluster_info
arguments:
cluster_id: "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"
- expected_response: "hosts hasn't been discovered yet."
+ expected_keywords: ["no hosts discovered", "booted", "waiting"]If you prefer accuracy, then at least: - expected_response: "hosts hasn't been discovered yet."
+ expected_response: "hosts haven't been discovered yet."📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| - conversation_group: list_clusters_conv | ||||||||||||||||||||||||||||||||||
| conversation: | ||||||||||||||||||||||||||||||||||
|
|
@@ -131,13 +139,12 @@ | |||||||||||||||||||||||||||||||||
| conversation: | ||||||||||||||||||||||||||||||||||
| - eval_id: cluster_info_tool_call | ||||||||||||||||||||||||||||||||||
| eval_query: Give me details about cluster named 'abc123abc' | ||||||||||||||||||||||||||||||||||
| description: Test handling for non-existent cluster name | ||||||||||||||||||||||||||||||||||
| eval_types: [tool_eval, response_eval:accuracy] | ||||||||||||||||||||||||||||||||||
| expected_response: Retrieval failed for cluster 'abc123abc' because the resource was not found. | ||||||||||||||||||||||||||||||||||
| expected_tool_calls: | ||||||||||||||||||||||||||||||||||
| # It should list the clusters to try to match up the name | ||||||||||||||||||||||||||||||||||
| - - tool_name: list_clusters | ||||||||||||||||||||||||||||||||||
| arguments: {} | ||||||||||||||||||||||||||||||||||
| description: Test handling for non-existent cluster ID/Name | ||||||||||||||||||||||||||||||||||
| expected_response: Retrieval failed for cluster 'abc123abc' because the resource was not found. | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| - conversation_group: error_handling_conv | ||||||||||||||||||||||||||||||||||
| description: Validate graceful handling of invalid SSH key format | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
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.
Fix grammar/markdown in “Unsupported Network Configuration” bullet.
There’s a duplicated word (“or or”) and an extra closing bold marker that will render incorrectly.
Apply:
📝 Committable suggestion
🤖 Prompt for AI Agents