Skip to content

Commit 58eca29

Browse files
committed
fix: once openai proxy key is not available, the openai realtime conf proxy shall be empty
1 parent e19fd5e commit 58eca29

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)