Skip to content

Commit

Permalink
Fix llama_index tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkall committed Jul 2, 2024
1 parent 66e5061 commit 6f1f3eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions autogen/agentchat/contrib/llamaindex_conversable_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@

try:
from llama_index.core.agent.runner.base import AgentRunner
from llama_index.core.base.llms.types import ChatMessage
from llama_index.core.chat_engine.types import AgentChatResponse
from llama_index_client import ChatMessage
except ImportError as e:
logger.fatal("Failed to import llama-index. Try running 'pip install llama-index'")
raise e


class LLamaIndexConversableAgent(ConversableAgent):

def __init__(
self,
name: str,
Expand Down

0 comments on commit 6f1f3eb

Please sign in to comment.