Spaces:
Sleeping
Sleeping
parameter error
Browse files
agent.py
CHANGED
|
@@ -37,6 +37,7 @@ llm_deepseek_r1 = DeepSeek(
|
|
| 37 |
max_retries=5,
|
| 38 |
timeout=100
|
| 39 |
)
|
|
|
|
| 40 |
#test the llm
|
| 41 |
#answerr = llm_deepseek_r1.complete("What is the capital of France?")
|
| 42 |
#print(answerr)
|
|
@@ -57,7 +58,7 @@ media_agent = FunctionAgent(
|
|
| 57 |
TOOLS:
|
| 58 |
PLAN:
|
| 59 |
OUTPUT FORMATTING: """,
|
| 60 |
-
tools = [
|
| 61 |
can_handoff_to=["Viktor"],
|
| 62 |
allow_parallel_tool_calls=True
|
| 63 |
)
|
|
|
|
| 37 |
max_retries=5,
|
| 38 |
timeout=100
|
| 39 |
)
|
| 40 |
+
yt_transcripts = file_management_tools.read_youtube_video
|
| 41 |
#test the llm
|
| 42 |
#answerr = llm_deepseek_r1.complete("What is the capital of France?")
|
| 43 |
#print(answerr)
|
|
|
|
| 58 |
TOOLS:
|
| 59 |
PLAN:
|
| 60 |
OUTPUT FORMATTING: """,
|
| 61 |
+
tools = [yt_transcripts],
|
| 62 |
can_handoff_to=["Viktor"],
|
| 63 |
allow_parallel_tool_calls=True
|
| 64 |
)
|