Spaces:
Running
Running
Update agent_llamaindex.py
Browse files- agent_llamaindex.py +1 -1
agent_llamaindex.py
CHANGED
@@ -31,7 +31,7 @@ def get_callback(token_counter):
|
|
31 |
"Completion Tokens: " +
|
32 |
str(token_counter.completion_llm_token_count))
|
33 |
|
34 |
-
def get_llm(
|
35 |
return OpenAI(
|
36 |
model = config["model_name"],
|
37 |
temperature = config["temperature"]
|
|
|
31 |
"Completion Tokens: " +
|
32 |
str(token_counter.completion_llm_token_count))
|
33 |
|
34 |
+
def get_llm(config):
|
35 |
return OpenAI(
|
36 |
model = config["model_name"],
|
37 |
temperature = config["temperature"]
|