pycoze 0.1.13__py3-none-any.whl → 0.1.15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,15 +8,15 @@ from langchain_core.language_models import LanguageModelLike
8
8
  from langgraph.graph import END, StateGraph
9
9
  from langgraph.graph.state import CompiledStateGraph
10
10
  from langgraph.prebuilt.tool_executor import ToolExecutor
11
- from langgraph.utils import RunnableCallable
11
+ from langgraph.utils.runnable import RunnableCallable
12
12
  from langchain.agents import create_structured_chat_agent
13
13
  from .react_prompt import react_agent_prompt
14
14
 
15
15
 
16
16
  def create_react_agent_executor(
17
- tools: list[BaseTool],
17
+ tools: list[BaseTool],
18
18
  llm: LanguageModelLike,
19
- system_message: str,
19
+ system_message: str,
20
20
  **kwargs # ignore
21
21
  ):
22
22
  prompt = react_agent_prompt.partial(assistant_message=system_message)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycoze
3
- Version: 0.1.13
3
+ Version: 0.1.15
4
4
  Summary: Package for pycoze only!
5
5
  Author: Yuan Jie Xiong
6
6
  Author-email: aiqqqqqqq@qq.com
@@ -9,7 +9,7 @@ pycoze/bot/agent/assistant.py,sha256=QLeWaPi415P9jruYOm8qcIbC94cXXAhJYmLTkyC9NTQ
9
9
  pycoze/bot/agent/chat.py,sha256=C2X0meUcIPbn5FCxvhkhxozldPG7qdb2jVR-WnPqqnQ,791
10
10
  pycoze/bot/agent/agent_types/__init__.py,sha256=PoYsSeQld0kdROjejN3BNjC9NsgKNekjNy4FqtWRJqM,227
11
11
  pycoze/bot/agent/agent_types/openai_func_call_agent.py,sha256=YkpiMxrLl7aMYZJsOtZraTT2UE0IZrQsfikGRCHx4jM,4467
12
- pycoze/bot/agent/agent_types/react_agent.py,sha256=LwzIovswxPuc08A0imQwK3DIykhlZXK5eCWXcIAuNgM,6741
12
+ pycoze/bot/agent/agent_types/react_agent.py,sha256=xgS6NFBtWUOrXQrJ1hq060VoTRsTj4Y_3gI1Sy3bEsU,6748
13
13
  pycoze/bot/agent/agent_types/react_prompt.py,sha256=PdzL3SFb0Ee0dbK4HGqG09bRISrru4bhOj45CXBtqI0,1919
14
14
  pycoze/ui/__init__.py,sha256=OLPOfXhWGlMVImUhpsOzhs4Jmhrg73lPSUMTTdA7q0I,181
15
15
  pycoze/ui/base.py,sha256=nXNXRTZ5Tl1AQp5nfjzLvOVzt_1nLSCn2IOyfxAN_fc,1471
@@ -18,8 +18,8 @@ pycoze/ui/typ.py,sha256=NpT0FrbHvByOszBZMFtroRp7I7pN-38tYz_zPOPejF4,1723
18
18
  pycoze/ui/ui_def.py,sha256=xCaqtsnRsbAQMqDa4DpbAVupjCnYdWIu1pAiDQdgTwM,3135
19
19
  pycoze/utils/__init__.py,sha256=GMP9EhOsbRM0EfIzS2ll1fXKKSpY3zqpqkm66fPGBaM,39
20
20
  pycoze/utils/arg.py,sha256=VKinJRPiNw0TPvuRFwLg0Vz8u8HXx_ejGfOojfE9b_Y,706
21
- pycoze-0.1.13.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
22
- pycoze-0.1.13.dist-info/METADATA,sha256=wFhwpl_MzMOLq5Xr2VUOE_FUU_rrA2wtwSIduIM7oQ8,719
23
- pycoze-0.1.13.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
24
- pycoze-0.1.13.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
25
- pycoze-0.1.13.dist-info/RECORD,,
21
+ pycoze-0.1.15.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
22
+ pycoze-0.1.15.dist-info/METADATA,sha256=J345jTUEmu7itr2w04ag7yZrZHfTAMgiXkUm8m9pGYo,719
23
+ pycoze-0.1.15.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
24
+ pycoze-0.1.15.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
25
+ pycoze-0.1.15.dist-info/RECORD,,