mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-31 09:13:56 +08:00
feat: Add ability to edit provider, API key, and endpoint in existing integrations
- Extended OptionsFlowHandler with two-step configuration flow - Step 1: Select provider (OpenAI, Anthropic, DeepSeek, Gemini) - Step 2: Configure API key, endpoint, model, and other settings - Auto-reload integration on options change - When switching providers, show appropriate default endpoint and model - Updated translations for all 8 languages
This commit is contained in:
@@ -65,9 +65,18 @@
|
||||
"options": {
|
||||
"step": {
|
||||
"init": {
|
||||
"title": "Ажурирајте подешавања инстанце",
|
||||
"description": "Измените подешавања за ову AI асистент инстанцу.",
|
||||
"title": "Изаберите провајдера",
|
||||
"description": "Изаберите AI провајдера за ову инстанцу. Интеграција ће се поново учитати након чувања измена.",
|
||||
"data": {
|
||||
"api_provider": "API провајдер"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"title": "Подешавања везе и модела",
|
||||
"description": "Конфигуришите API акредитиве и параметре модела. Промене ће ступити на снагу након поновног учитавања интеграције.",
|
||||
"data": {
|
||||
"api_key": "API кључ",
|
||||
"api_endpoint": "URL API крајње тачке",
|
||||
"model": "AI модел",
|
||||
"temperature": "Креативност одговора (0-2)",
|
||||
"max_tokens": "Максимална дужина одговора (1-100000)",
|
||||
|
||||
Reference in New Issue
Block a user