Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

add comments

geekanea64e6ad4764
diff --git a/tests/conftest.py b/tests/conftest.py
index 54a042e90..d88b31ce5 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -27,6 +27,10 @@ class Context:
@property
def llm_api(self):
+ # 1. 初始化llm,带有缓存结果
+ # 2. 如果缓存query,那么直接返回缓存结果
+ # 3. 如果没有缓存query,那么调用llm_api,返回结果
+ # 4. 如果有缓存query,那么更新缓存结果
return self._llm_api