diff --git a/agenta-web/src/code_snippets/endpoints/fetch_config/python.ts b/agenta-web/src/code_snippets/endpoints/fetch_config/python.ts index 48a6d5ef9a..1fbb904e33 100644 --- a/agenta-web/src/code_snippets/endpoints/fetch_config/python.ts +++ b/agenta-web/src/code_snippets/endpoints/fetch_config/python.ts @@ -1,12 +1,12 @@ export default function pythonCode(baseId: string, env_name: string): string { return ` # os.environ["AGENTA_API_KEY"] = "your_api_key" # Only when using cloud - # os.environ["HOST"] = "https://cloud.agenta.ai" + # os.environ["AGENTA_HOST"] = "https://cloud.agenta.ai" from agenta import Agenta ag = Agenta() ag.get_config(base_id="${baseId}", - environment="${env_name}", - cache_timeout=600) # timeout 300 per default + environment="${env_name}", + cache_timeout=600) # timeout 300 per default ` }