Skip to content

Commit 9ee6ebf

Browse files
authored
Merge pull request #22 from VectorInstitute/fix_langfuse_url
Fix use of langfuse url -> team specific
2 parents 211e11b + cbb356f commit 9ee6ebf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/aieng_platform_onboard/utils.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,12 @@ def create_env_file(
407407
env_content += (
408408
f'LANGFUSE_PUBLIC_KEY="{team_data.get("langfuse_public_key", "")}"\n'
409409
)
410-
env_content += f'LANGFUSE_HOST="{global_keys.get("LANGFUSE_HOST", "")}"\n\n'
410+
env_content += f'LANGFUSE_HOST="{team_data.get("langfuse_url", "")}"\n\n'
411+
412+
env_content += "# Web Search\n"
413+
env_content += (
414+
f'WEB_SEARCH_API_KEY="{team_data.get("web_search_api_key", "")}"\n\n'
415+
)
411416

412417
env_content += "# Weaviate\n"
413418
env_content += (
@@ -499,6 +504,7 @@ def validate_env_file(env_path: Path) -> tuple[bool, list[str]]:
499504
"LANGFUSE_SECRET_KEY",
500505
"LANGFUSE_PUBLIC_KEY",
501506
"LANGFUSE_HOST",
507+
"WEB_SEARCH_API_KEY",
502508
"WEAVIATE_HTTP_HOST",
503509
"WEAVIATE_GRPC_HOST",
504510
"WEAVIATE_API_KEY",

0 commit comments

Comments
 (0)