diff --git "a/docs/chapter8/\347\254\254\345\205\253\347\253\240 \350\256\260\345\277\206\344\270\216\346\243\200\347\264\242.md" "b/docs/chapter8/\347\254\254\345\205\253\347\253\240 \350\256\260\345\277\206\344\270\216\346\243\200\347\264\242.md" index 0d3587d..f5728a6 100644 --- "a/docs/chapter8/\347\254\254\345\205\253\347\253\240 \350\256\260\345\277\206\344\270\216\346\243\200\347\264\242.md" +++ "b/docs/chapter8/\347\254\254\345\205\253\347\253\240 \350\256\260\345\277\206\344\270\216\346\243\200\347\264\242.md" @@ -218,6 +218,9 @@ EMBED_BASE_URL= ```python # 配置好同级文件夹下.env中的大模型API +from dotenv import load_dotenv +load_dotenv() + from hello_agents import SimpleAgent, HelloAgentsLLM, ToolRegistry from hello_agents.tools import MemoryTool, RAGTool