Added openai compatible v1 completions and ollama api key compatibility (#73) (#74)

Added:
    - v1 completions (OpenAI compatible) and testing connection
    - Add API key handling for Ollama and v1 completions if required
Co-authored-by: midhun kumar <midh0001@student.monash.edu>
Reviewed-on: https://codeberg.org/ArkHost/HelixNotes/pulls/74
This commit is contained in:
qyrhal
2026-06-03 18:49:11 +02:00
committed by ArkHost
parent 8ceb44df78
commit 4b82d51f6c
6 changed files with 319 additions and 26 deletions
+3
View File
@@ -73,6 +73,9 @@ export interface AppConfig {
ai_api_key: string | null;
openai_api_key: string | null;
ollama_base_url: string | null;
ollama_api_key: string | null;
openai_compatible_base_url: string | null;
openai_compatible_api_key: string | null;
ai_model: string;
ai_writing_style: string | null;
default_view_mode: boolean;