fix(#497): pass include_unconfigured=true to /api/model/options (#498)

Backend commit 37a4cf900 (hermes-agent) flipped the default of
GET /api/model/options's include_unconfigured parameter from true
to false, so the mobile Models picker was silently regressing to
showing only configured/authenticated providers — the skeleton rows
for unconfigured providers (with setup-hint warnings) stopped arriving.

Add include_unconfigured as a @Query param defaulting to true so the
full provider universe is restored on the Models screen. Both current
call sites (ModelViewModel + ProfilesViewModel) invoke the API without
passing the new param, so they automatically pick up the true default.
This commit is contained in:
M57 authored and GitHub committed 2026-07-08 13:00:42 +03:00
1 parent 21092c79f2
commit cec8795b53
2 files changed
+4 -3

No files matched your search

@@ -432,6 +432,7 @@ interface HermesApiService {
@GET("api/model/options")
suspend fun getModelOptions(
@Query("refresh") refresh: Boolean = false,
@Query("include_unconfigured") includeUnconfigured: Boolean = true,
): Response<ModelOptionsResponse>
@GET("api/model/auxiliary")