Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix: fetching codegate env var logic #1331

Merged
merged 1 commit into from
Apr 1, 2025
Merged

Conversation

teodor-yanev
Copy link
Contributor

@teodor-yanev teodor-yanev commented Apr 1, 2025

This is a fix for #1330

https://stackoverflow.com/a/65640689

Tested this locally

2025-04-01 23:17:16 Initializing entrypoint script...
2025-04-01 23:17:16 Backup path or mode not provided. Skipping restore.
2025-04-01 23:17:16 Generating certificates...
2025-04-01 23:17:18 /usr/local/lib/python3.12/site-packages/pydantic/_internal/_fields.py:192: UserWarning: Field name "schema" in "JsonSchema" shadows an attribute in parent "BaseModel"
2025-04-01 23:17:18   warnings.warn(
2025-04-01 23:17:18 Starting the dashboard...
2025-04-01 23:17:18 Starting the application with args: --port 8989 --host 0.0.0.0 --model-base-path /app/codegate_volume/models --db-path /app/codegate_volume/db/codegate.db --vec-db-path /app/sqlite_data/vectordb.db --ollama-url http://host.docker.internal:11434 --lm-studio-url http://host.docker.internal:1234 --log-level WARNING --log-format TEXT
2025-04-01 23:17:20 /usr/local/lib/python3.12/site-packages/pydantic/_internal/_fields.py:192: UserWarning: Field name "schema" in "JsonSchema" shadows an attribute in parent "BaseModel"
2025-04-01 23:17:20   warnings.warn(
2025-04-01 23:17:21 alembic
2025-04-01 23:17:21 is_dev_env: True
2025-04-01 23:17:21 Existing Certificates are already present.
2025-04-01 23:17:21 2025-04-01T20:17:21.687690Z [warning  ] A new version of CodeGate is available: v0.1.30 lineno=33 module=scheduled pathname=/app/src/codegate/updates/scheduled.py

@teodor-yanev teodor-yanev self-assigned this Apr 1, 2025
@teodor-yanev teodor-yanev merged commit c37e142 into main Apr 1, 2025
4 of 5 checks passed
@teodor-yanev teodor-yanev deleted the fix-fetching-of-env-var branch April 1, 2025 20:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants