We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c44a7f commit c810967Copy full SHA for c810967
plugins/inworld/vision_agents/plugins/inworld/tts.py
@@ -72,11 +72,9 @@ async def stream_audio(
72
"""
73
url = f"{self.base_url}/tts/v1/voice:stream"
74
75
- # Prepare Basic auth header
76
- # Inworld expects base64-encoded credentials
77
- credentials = base64.b64encode(f"{self.api_key}:".encode()).decode()
+ credentials = f"Basic {self.api_key}"
78
headers = {
79
- "Authorization": f"Basic {credentials}",
+ "Authorization": credentials,
80
"Content-Type": "application/json",
81
}
82
0 commit comments