Import AITURK IDE 1.0.0-beta.1 from Hermes 63279301; preserve MIT license

This commit is contained in:
2026-09-05 13:26:46 +03:00
commit 03634b1ca3
11340 changed files with 3442369 additions and 0 deletions
@@ -0,0 +1,24 @@
from pathlib import Path
from types import SimpleNamespace
from gateway.config import GatewayConfig, load_gateway_config
from gateway.run import GatewayRunner
def test_stt_echo_transcripts_defaults_on_for_backwards_compatibility():
cfg = GatewayConfig.from_dict({})
assert cfg.stt_enabled is True
assert cfg.stt_echo_transcripts is True
assert cfg.to_dict()["stt_echo_transcripts"] is True
def test_top_level_stt_echo_transcripts_takes_precedence():
cfg = GatewayConfig.from_dict({
"stt_echo_transcripts": False,
"stt": {"echo_transcripts": True},
})
assert cfg.stt_echo_transcripts is False