Skip to content

Commit 256ea54

Browse files
committed
Add missing key
1 parent 25d1f8c commit 256ea54

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • server/agents/trend_crew/src/trend_crew

server/agents/trend_crew/src/trend_crew/crew.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def trend_alchemist(self) -> Agent:
5151
# https://docs.crewai.com/concepts/tasks#overview-of-a-task
5252
@task
5353
def find_sources_task(self) -> Task:
54+
print("API_BASE:", os.getenv("API_BASE"))
5455
return Task(
5556
config=self.tasks_config['find_sources'], # type: ignore[index]
5657
tools=[
@@ -60,7 +61,7 @@ def find_sources_task(self) -> Task:
6061
provider="ollama",
6162
config=dict(
6263
model="nomic-embed-text",
63-
base_url=os.getenv("API_BASE")
64+
base_url=os.getenv("API_BASE"),
6465
)
6566
),
6667
)
@@ -79,6 +80,7 @@ def collect_trend_data_task(self) -> Task:
7980
provider="ollama",
8081
config=dict(
8182
model="nomic-embed-text",
83+
base_url=os.getenv("API_BASE"),
8284
)
8385
),
8486
)

0 commit comments

Comments
 (0)