Skip to content

Commit 27ca37a

Browse files
committed
remove fishjam url
1 parent c624cb8 commit 27ca37a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

examples/poet_chat/poet_chat/config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
FISHJAM_ID = os.environ["FISHJAM_ID"]
1111
FISHJAM_TOKEN = os.environ["FISHJAM_MANAGEMENT_TOKEN"]
12-
FISHJAM_URL = os.getenv("FISHJAM_URL")
1312

1413
AGENT_OPTIONS = AgentOptions(output=AgentOutputOptions(audio_sample_rate=24000))
1514

@@ -26,4 +25,4 @@
2625
with open(GREET_PATH) as prompt:
2726
OPENAI_GREET = prompt.read()
2827

29-
fishjam_client = FishjamClient(FISHJAM_ID, FISHJAM_TOKEN, fishjam_url=FISHJAM_URL)
28+
fishjam_client = FishjamClient(FISHJAM_ID, FISHJAM_TOKEN)

examples/poet_chat/poet_chat/notifier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
)
88
from fishjam.events.allowed_notifications import AllowedNotification
99

10-
from .config import FISHJAM_ID, FISHJAM_TOKEN, FISHJAM_URL, OPENAI_GREET
10+
from .config import FISHJAM_ID, FISHJAM_TOKEN, OPENAI_GREET
1111

1212

1313
def make_notifier(poet: RealtimeSession) -> FishjamNotifier:
14-
notifier = FishjamNotifier(FISHJAM_ID, FISHJAM_TOKEN, fishjam_url=FISHJAM_URL)
14+
notifier = FishjamNotifier(FISHJAM_ID, FISHJAM_TOKEN)
1515

1616
@notifier.on_server_notification
1717
async def _(notification: AllowedNotification):

0 commit comments

Comments
 (0)