[#110] Add AI client with multi-provider support and UI #113

Manually merged
jabber.developer merged 64 commits from feat/ai into master 2026-05-15 02:22:56 +00:00
24 changed files with 4093 additions and 11 deletions
Showing only changes of commit 7cf82c99f0 - Show all commits

View File

@@ -1088,7 +1088,6 @@ ai_session_unref(AISession* session)
return;
}
pthread_mutex_lock(&session->lock);
g_free(session->provider_name);
ai_provider_unref(session->provider);
g_free(session->model);
@@ -1103,7 +1102,8 @@ ai_session_unref(AISession* session)
curr = g_list_next(curr);
}
g_list_free(session->history);
pthread_mutex_unlock(&session->lock);
pthread_mutex_destroy(&session->lock);
g_free(session);
log_debug("AI session destroyed");