Skip to content

Commit

Permalink
Update default port, improve translations
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinfrlch committed Feb 11, 2025
1 parent 76357e8 commit a4ffc87
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion custom_components/llmvision/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ async def async_step_openwebui(self, user_input=None):
vol.Required(CONF_OPENWEBUI_API_KEY): str,
vol.Required(CONF_OPENWEBUI_DEFAULT_MODEL, default="minicpm-v"): str,
vol.Required(CONF_OPENWEBUI_IP_ADDRESS): str,
vol.Required(CONF_OPENWEBUI_PORT, default=11434): int,
vol.Required(CONF_OPENWEBUI_PORT, default=3000): int,
vol.Required(CONF_OPENWEBUI_HTTPS, default=False): bool,
})

Expand Down
4 changes: 2 additions & 2 deletions custom_components/llmvision/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
"openwebui_api_key": "API Key (JWT token)",
"openwebui_ip": "IP Address",
"openwebui_port": "Port",
"openwebui_https": "Whether to use HTTPS",
"openwebui_default_model": "The default model to use"
"openwebui_https": "Use HTTPS",
"openwebui_default_model": "Default model"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion custom_components/llmvision/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"openwebui_api_key": "API Key (JWT token)",
"openwebui_ip": "IP Addresse",
"openwebui_port": "Port",
"openwebui_https": "HTTPS",
"openwebui_https": "HTTPS verwenden",
"openwebui_default_model": "Standardmodell"
}
}
Expand Down
4 changes: 2 additions & 2 deletions custom_components/llmvision/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
"openwebui_api_key": "API Key (JWT token)",
"openwebui_ip": "IP Address",
"openwebui_port": "Port",
"openwebui_https": "Whether to use HTTPS",
"openwebui_default_model": "The default model to use"
"openwebui_https": "Use HTTPS",
"openwebui_default_model": "Default model"
}
}
},
Expand Down

0 comments on commit a4ffc87

Please sign in to comment.