Update agent.py
Browse files
agent.py
CHANGED
@@ -53,7 +53,7 @@ import sys
|
|
53 |
|
54 |
import weave
|
55 |
weave.init("gaia-llamaindex-agents")
|
56 |
-
from llama_index.core
|
57 |
from llama_index.core.callbacks import WeaveCallbackHandler
|
58 |
|
59 |
# Set Weave as the global callback handler
|
|
|
53 |
|
54 |
import weave
|
55 |
weave.init("gaia-llamaindex-agents")
|
56 |
+
from llama_index.core import set_global_handler
|
57 |
from llama_index.core.callbacks import WeaveCallbackHandler
|
58 |
|
59 |
# Set Weave as the global callback handler
|