Skip to content

Commit a8df8a1

Browse files
authored
Merge pull request #67 from ghost-in-moss/fix/fix_empty_proxy_value
fix: once openai proxy key is not available, the openai realtime conf…
2 parents e19fd5e + 58eca29 commit a8df8a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ghostos/framework/openai_realtime/configs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def load_from_env(self) -> Self:
3535
key = copied.proxy[1:]
3636
if key in environ:
3737
copied.proxy = environ[key]
38+
else:
39+
copied.proxy = ""
3840
return copied
3941

4042

0 commit comments

Comments
 (0)