Spaces:
Build error
Build error
Update scripts/main.py
Browse files- scripts/main.py +2 -2
scripts/main.py
CHANGED
@@ -4,8 +4,8 @@ import pdb
|
|
4 |
import gradio as gr
|
5 |
import logfire
|
6 |
from custom_retriever import CustomRetriever
|
7 |
-
|
8 |
-
from llama_index.core.agent import OpenAIAgent
|
9 |
from llama_index.core.llms import MessageRole
|
10 |
from llama_index.core.memory import ChatSummaryMemoryBuffer
|
11 |
from llama_index.core.tools import RetrieverTool, ToolMetadata
|
|
|
4 |
import gradio as gr
|
5 |
import logfire
|
6 |
from custom_retriever import CustomRetriever
|
7 |
+
from llama_index.agent.openai import OpenAIAgent
|
8 |
+
#from llama_index.core.agent import OpenAIAgent
|
9 |
from llama_index.core.llms import MessageRole
|
10 |
from llama_index.core.memory import ChatSummaryMemoryBuffer
|
11 |
from llama_index.core.tools import RetrieverTool, ToolMetadata
|