diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-08 02:16:19 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-08 02:16:19 -0700 |
| commit | f361e7599d9a11ad3397b7b6bffee151ab9bdde9 (patch) | |
| tree | ed19c556720b4f54b01b2d091285e471e0049dbc | |
| parent | e8b8dc790e30131976fa22d70a79bd2a6ff4c94a (diff) | |
Fix startup error and improve category dropdown readability
- Give ollama_timeout a default of 120s so the app starts without it in .env
- Style select option elements to match dark theme, fixing low contrast in dropdown
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| -rw-r--r-- | .env.example | 3 | ||||
| -rw-r--r-- | config.py | 2 | ||||
| -rw-r--r-- | static/style.css | 5 |
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 @@ -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; |
