summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.env.example3
-rw-r--r--config.py2
-rw-r--r--static/style.css5
3 files changed, 9 insertions, 1 deletions
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..d3cb4e2
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,3 @@
+OLLAMA_HOST=http://localhost:11434
+MODEL_NAME=gemma4:latest
+DATABASE_URL=sqlite:///./chef.db
diff --git a/config.py b/config.py
index 8472e66..1f06627 100644
--- a/config.py
+++ b/config.py
@@ -5,7 +5,7 @@ class Settings(BaseSettings):
ollama_host: str
model_name: str
database_url: str
- ollama_timeout: int
+ ollama_timeout: int = 120
class Config:
env_file = ".env"
diff --git a/static/style.css b/static/style.css
index 18908c7..9d90898 100644
--- a/static/style.css
+++ b/static/style.css
@@ -197,6 +197,11 @@ main {
background-color: rgba(108, 99, 255, 0.05);
}
+.form-group select option {
+ background-color: var(--surface2);
+ color: var(--text);
+}
+
.form-actions {
display: flex;
gap: 1rem;