feat: add conditional SSH key prompt#275
feat: add conditional SSH key prompt#275openshift-merge-bot[bot] merged 2 commits intorh-ecosystem-edge:mainfrom
Conversation
The models are outdated and this configuration doesn't work with the current lls version. Signed-off-by: Eran Cohen <eranco@redhat.com>
WalkthroughRemoves three Gemini LLM entries from the inference configuration, adds a conditional SSH public-key prompt to the cluster-creation dialog that only appears if no key was provided during creation, and updates evaluation test data to expect the new prompt. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
config/llama_stack_client_config.yaml(0 hunks)template.yaml(1 hunks)test/evals/eval_data.yaml(1 hunks)test/evals/eval_data_eran.yaml(1 hunks)
💤 Files with no reviewable changes (1)
- config/llama_stack_client_config.yaml
🔇 Additional comments (2)
template.yaml (1)
285-301: System prompt conditional SSH key prompt logic is clear and well-ordered.The workflow guidance properly documents:
- Static network configuration reminder (Line 289) – shown before offering Discovery ISO if no static config present
- Conditional SSH key prompt (Line 290) – shown only if SSH key was not provided during cluster creation
The expected behavior correctly gates the SSH key prompt on whether a key was already provided, and the test evaluation data (eval_data.yaml) aligns with this logic. The ordering and conditions are sound.
test/evals/eval_data_eran.yaml (1)
1-7: New evaluation test for multi-cluster creation constraint is well-structured.The test correctly validates the system's enforcement of the "single cluster creation only" constraint documented in the system prompt (template.yaml lines 240–241). The eval query and expected intent alignment are appropriate.
carbonin
left a comment
There was a problem hiding this comment.
Looks like there's some stuff in here that you didn't mean to commit
Updated the system prompt workflow guidance to refine the post-cluster-creation user interaction flow: 1. Explicitly ordered the proactive prompts to ensure the **Static Network Configuration** reminder is presented to the user. 2. Add conditional SSH public key prompt. It will only be presented to the user if the key was *not* provided during the initial cluster creation request. 3. Evaluation tests were updated to reflect this new, expected response.
|
@eranco74: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carbonin, eranco74 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
8cd0473
into
rh-ecosystem-edge:main
Updated the system prompt workflow guidance to refine the post-cluster-creation user interaction flow:
Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.