Skip to content

Commit 3034f8a

Browse files
committed
add docstring missing import
1 parent 10e6777 commit 3034f8a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

python/packages/autogen-ext/src/autogen_ext/tools/graphrag/_global_search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class GlobalSearchTool(BaseTool[GlobalSearchToolArgs, GlobalSearchToolReturn]):
6464
6565
import asyncio
6666
from autogen_ext.models.openai import OpenAIChatCompletionClient
67+
from autogen_agentchat.messages import TextMessage
6768
from autogen_ext.tools.graphrag import GlobalSearchTool
6869
from autogen_agentchat.agents import AssistantAgent
6970

python/packages/autogen-ext/src/autogen_ext/tools/graphrag/_local_search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class LocalSearchTool(BaseTool[LocalSearchToolArgs, LocalSearchToolReturn]):
6464
6565
import asyncio
6666
from autogen_ext.models.openai import OpenAIChatCompletionClient
67+
from autogen_agentchat.messages import TextMessage
6768
from autogen_ext.tools.graphrag import LocalSearchTool
6869
from autogen_agentchat.agents import AssistantAgent
6970

python/samples/agentchat_graphrag/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ async def main(model_config: Dict[str, Any]) -> None:
6161
if __name__ == "__main__":
6262
parser = argparse.ArgumentParser(description="Run a GraphRAG search with an agent.")
6363
parser.add_argument("--verbose", action="store_true", help="Enable verbose logging.")
64+
# See agentchat_chainlit/model_config_template.json for model_config.json
6465
parser.add_argument(
6566
"--model-config", type=str, help="Path to the model configuration file.", default="model_config.json"
6667
)

0 commit comments

Comments
 (0)