Skip to content

Commit 7b3ab62

Browse files
authored
Add context back in
1 parent bbabd8e commit 7b3ab62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

complex-agents/teleprompter/cartesia-ink.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
load_dotenv(dotenv_path=Path(__file__).parent.parent / '.env')
1212

1313
async def entrypoint(ctx: JobContext):
14+
await ctx.connect()
1415
session = AgentSession()
1516

1617
# Register RPC method for frontend to retrieve transcript data
@@ -60,4 +61,4 @@ async def send_transcript():
6061
)
6162

6263
if __name__ == "__main__":
63-
cli.run_app(WorkerOptions(entrypoint_fnc=entrypoint))
64+
cli.run_app(WorkerOptions(entrypoint_fnc=entrypoint))

0 commit comments

Comments
 (0)