[PR 17] Implement Config ViewModels (E4.S*, E5.S*) #63

Closed
opened 2025-06-25 00:07:14 +00:00 by rwachters · 0 comments
rwachters commented 2025-06-25 00:07:14 +00:00 (Migrated from github.com)

Summary

Create and implement ViewModels for managing LLM Providers, Models, and Settings using the ViewModel/StateFlow/UiState/Either pattern.

Details

  • Implement ViewModels like ProviderConfigState, ModelConfigState, SettingsConfigState.
  • Implement loading lists (getAllProviders, getModelsByProviderId, getSettingsByModelId).
  • Implement CRUD actions (add, edit, delete).
  • Implement API key status check (getModelApiKeyStatus).

Dependencies

  • PR 13 (Config clients)
  • PRs 4, 5b, 5a, 10 (Backend config services/API)

Tests

  • Unit tests for these ViewModels.

Assignee

Maya

Labels

frontend, viewmodel, state, arrow, good first issue

## Summary Create and implement ViewModels for managing LLM Providers, Models, and Settings using the ViewModel/StateFlow/UiState/Either pattern. ## Details - Implement ViewModels like `ProviderConfigState`, `ModelConfigState`, `SettingsConfigState`. - Implement loading lists (`getAllProviders`, `getModelsByProviderId`, `getSettingsByModelId`). - Implement CRUD actions (add, edit, delete). - Implement API key status check (`getModelApiKeyStatus`). ## Dependencies - PR 13 (Config clients) - PRs 4, 5b, 5a, 10 (Backend config services/API) ## Tests - Unit tests for these ViewModels. ## Assignee Maya ## Labels frontend, viewmodel, state, arrow, good first issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Torvian.eu/chatbot#63
No description provided.