Spaces:
Running
Running
Update agent_llamaindex.py
Browse files- agent_llamaindex.py +1 -1
agent_llamaindex.py
CHANGED
@@ -54,7 +54,7 @@ def agent_llamaindex(config, prompt):
|
|
54 |
agent = OpenAIAgent.from_tools(
|
55 |
[tools[0], # built-in tools
|
56 |
date_tool], # custom tools
|
57 |
-
llm = get_llm(),
|
58 |
service_context = service_context,
|
59 |
verbose = True
|
60 |
)
|
|
|
54 |
agent = OpenAIAgent.from_tools(
|
55 |
[tools[0], # built-in tools
|
56 |
date_tool], # custom tools
|
57 |
+
llm = get_llm(config),
|
58 |
service_context = service_context,
|
59 |
verbose = True
|
60 |
)
|