-
Notifications
You must be signed in to change notification settings - Fork 73
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
style(weave): LLM dropdown UX improvements #3276
Conversation
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=fed2672d65ba41da176067a526bfcf73d5ecfcf8 |
acc.push({ | ||
group: provider, | ||
label: | ||
llm.includes(provider) || provider === 'openai' |
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.
TIOLI: i'm becoming a simp for micro functions, could be a nice place for one that explains why we do this logic
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.
like:
function _make_dropdown_label(provider: string): string {
@@ -397,8 +397,8 @@ export const LLM_PROVIDER_LABELS: Record< | |||
> = { | |||
openai: 'OpenAI', | |||
anthropic: 'Anthropic', | |||
gemini: 'Gemini', | |||
gemini: 'Google gemini', |
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.
I think Gemini and Bedrock should be capitalized.
acc.push({ | ||
group: provider, | ||
label: | ||
llm.includes(provider) || provider === 'openai' |
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.
Not clear to me why we would give OpenAI unique treatment.
We should update the size of this select widget so you can see the entire selected value though.
Description
update headers
sort llms
simple defaulting for model
Testing
How was this PR tested?