mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-01 18:52:21 +01:00
fix(docker): forward ODYSSEUS_FIRST_TOKEN_TIMEOUT through compose (#6778)
Co-authored-by: Alexandre Teixeira <general@alexandreteixeira.dev>
This commit is contained in:
co-authored by
Alexandre Teixeira
parent
dc0fbbf7aa
commit
285d05e72e
@@ -67,6 +67,14 @@ def test_compose_files_forward_companion_base_url():
|
||||
assert "COMPANION_BASE_URL" in _compose_env_names(path), path.name
|
||||
|
||||
|
||||
def test_compose_files_forward_first_token_timeout():
|
||||
# The local first-event watchdog (src/llm_core.py) reads this from the
|
||||
# process environment, so a Docker install can only reach it when the
|
||||
# compose files forward it from the host .env.
|
||||
for path in COMPOSE_FILES:
|
||||
assert "ODYSSEUS_FIRST_TOKEN_TIMEOUT" in _compose_env_names(path), path.name
|
||||
|
||||
|
||||
def test_default_compose_files_do_not_mount_host_docker_socket():
|
||||
for path in COMPOSE_FILES:
|
||||
text = path.read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user