Skip to content

Commit ec5bd44

Browse files
committed
Avoid secret-like placeholders in framework examples
1 parent a910c96 commit ec5bd44

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/src/framework_crewai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from nutrient_dws import NutrientClient
55

66

7-
client = NutrientClient(api_key=os.getenv("NUTRIENT_API_KEY", "nutr_sk_placeholder"))
7+
client = NutrientClient(api_key=os.getenv("NUTRIENT_API_KEY", "api_key_placeholder"))
88

99

1010
document_planner = Agent(

examples/src/framework_langchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from nutrient_dws import NutrientClient
88

99

10-
client = NutrientClient(api_key=os.getenv("NUTRIENT_API_KEY", "nutr_sk_placeholder"))
10+
client = NutrientClient(api_key=os.getenv("NUTRIENT_API_KEY", "api_key_placeholder"))
1111

1212

1313
async def redact_emails(path: str) -> str:

examples/src/framework_openai_agents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from nutrient_dws import NutrientClient
66

77

8-
client = NutrientClient(api_key=os.getenv("NUTRIENT_API_KEY", "nutr_sk_placeholder"))
8+
client = NutrientClient(api_key=os.getenv("NUTRIENT_API_KEY", "api_key_placeholder"))
99

1010

1111
@function_tool

0 commit comments

Comments
 (0)