-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fixes model selection response in LLMOpenAIModelOnboardingStep
picker
#50
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #50 +/- ##
=======================================
Coverage 30.17% 30.17%
=======================================
Files 66 66
Lines 2891 2891
=======================================
Hits 872 872
Misses 2019 2019
Continue to review full report in Codecov by Sentry.
|
LLMOpenAIModelOnboardingStep
pickerLLMOpenAIModelOnboardingStep
picker
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.
Thanks @vishnuravi for the fix, greatly appreciated! Only had some minor comments, feel free to address them and then merge the PR, no additional review needed 👍
Tests/UITests/TestApp/LLMOpenAI/Onboarding/LLMOpenAIModelOnboarding.swift
Show resolved
Hide resolved
Thanks for raising the issue! |
That's interesting, never experienced that before on the runners.. So, the keychain state is kept between different UI tests? |
Thank you for the fix and additions @vishnuravi 🚀 |
Fixes model selection response in LLMOpenAIModelOnboardingStep picker
♻️ Current situation & Problem
The
LLMOpenAIModelOnboardingStep
contains a picker that currently tags model options with the formatted description of the model (e.g. "GPT 4 Turbo") not the raw value of the model itself, (e.g. "gpt-4-turbo"). This results in the formatted description being passed to the action, and subsequent failure to create a functioningLLMOpenAISchema
from this value because it expects the raw value instead.⚙️ Release Notes
Fixes the picker to pass the raw value of the model to the action so that it can be used to create an
LLMOpenAISchema
.📚 Documentation
Documentation is up to date.
✅ Testing
LLMOpenAIModelOnboardingStep
is passing to the action the correct raw value for the user's choice.--resetSecureStorage
flag to fix an issue with the existing UI tests failing due to old values for the OpenAI API key remaining in secure storage between tests.📝 Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: