[#110] Add AI client with multi-provider support and UI #113
@@ -10660,7 +10660,7 @@ cmd_ai(ProfWin* window, const char* const command, gchar** args)
|
|||||||
cons_show("Available providers:");
|
cons_show("Available providers:");
|
||||||
for (GList* curr = providers; curr; curr = g_list_next(curr)) {
|
for (GList* curr = providers; curr; curr = g_list_next(curr)) {
|
||||||
AIProvider* provider = curr->data;
|
AIProvider* provider = curr->data;
|
||||||
const gchar* key = ai_get_provider_key(provider->name);
|
auto_gchar gchar* key = ai_get_provider_key(provider->name);
|
||||||
cons_show(" %s (URL: %s, Key: %s)",
|
cons_show(" %s (URL: %s, Key: %s)",
|
||||||
provider->name,
|
provider->name,
|
||||||
provider->api_url,
|
provider->api_url,
|
||||||
|
|||||||
Reference in New Issue
Block a user