Skip to content

Conversation

@wychi
Copy link
Contributor

@wychi wychi commented Feb 2, 2026

This PR improves the FuserAgent UI with two key enhancements:

  1. Gradio 6.0 Compatibility (874ca99)
  2. Model and Provider Dropdown Selection (f174609)

Test Plan:
Run the server and verify:

python scripts/fuser_ui.py
image

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 2, 2026
@Jack-Khuu
Copy link
Contributor

Thanks for adding this! Can you share some screenshots?

wychi added 2 commits February 2, 2026 16:18
Summary:
Update fuser_ui.py for Gradio 6.0 API changes:
- Move `theme` parameter from `gr.Blocks()` to `.launch()` method
- Remove deprecated `show_api` parameter from `.launch()` calls

Test Plan:
Run the server and verify the UI loads correctly:

```
python scripts/fuser_ui.py
```
Summary:
Replace static model text input with dynamic dropdowns for model and provider selection:
- Add model dropdown populated from `get_available_models()`
- Add provider dropdown that updates based on selected model
- Support provider-specific API keys (OpenAI, Anthropic)
- Skip API key requirement for RelayProvider
- Update API key input label and placeholder to be provider-agnostic

Test Plan:
Run the server and verify:
1. Model dropdown shows available models
2. Provider dropdown updates when model changes
3. API key validation works for different providers

```
python scripts/fuser_ui.py
```
@wychi wychi merged commit 764ca99 into main Feb 3, 2026
6 checks passed
@wychi wychi deleted the fix_fuser branch February 3, 2026 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants