We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b5f7dc commit 460cff3Copy full SHA for 460cff3
1 file changed
axonflow/client.py
@@ -364,6 +364,11 @@ def __init__(
364
msg = "endpoint is required (or set AXONFLOW_AGENT_URL environment variable)"
365
raise TypeError(msg)
366
367
+ if os.environ.get("AXONFLOW_DEMO") == "1":
368
+ resolved_endpoint = "https://demo.getaxonflow.com"
369
+ if not client_id:
370
+ raise TypeError("client_id is required in demo mode (AXONFLOW_DEMO=1)")
371
+
372
if isinstance(mode, str):
373
mode = Mode(mode)
374
0 commit comments