Kate0816 commited on
Commit
1d6aef5
·
1 Parent(s): 2a13550

Update modules/models/ChuanhuAgent.py

Browse files
Files changed (1) hide show
  1. modules/models/ChuanhuAgent.py +1 -1
modules/models/ChuanhuAgent.py CHANGED
@@ -131,7 +131,7 @@ class ChuanhuAgent_Client(BaseLLMModel):
131
  status = i18n("索引构建完成")
132
  # Summarize the document
133
  logging.info(i18n("生成内容总结中……"))
134
- logging.info(f"Index: {index}")
135
  with get_openai_callback() as cb:
136
  os.environ["OPENAI_API_KEY"] = self.api_key
137
  from langchain.chains.summarize import load_summarize_chain
 
131
  status = i18n("索引构建完成")
132
  # Summarize the document
133
  logging.info(i18n("生成内容总结中……"))
134
+
135
  with get_openai_callback() as cb:
136
  os.environ["OPENAI_API_KEY"] = self.api_key
137
  from langchain.chains.summarize import load_summarize_chain