botrun-flow-lang 5.9.301__py3-none-any.whl → 5.10.32__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.
@@ -159,7 +159,7 @@ def get_react_agent_model(model_name: str = ""):
159
159
  logger.info(f"model RotatingChatAnthropic {final_model_name}")
160
160
  elif os.getenv("OPENROUTER_API_KEY") and os.getenv("OPENROUTER_BASE_URL"):
161
161
 
162
- openrouter_model_name = "anthropic/claude-sonnet-4"
162
+ openrouter_model_name = "anthropic/claude-sonnet-4.5"
163
163
  # openrouter_model_name = "openai/o4-mini-high"
164
164
  # openrouter_model_name = "openai/gpt-4.1"
165
165
  model = ChatOpenAI(
@@ -484,13 +484,19 @@ async def create_react_agent_graph(
484
484
  new_system_prompt = system_prompt
485
485
  if botrun_flow_lang_url and user_id:
486
486
  new_system_prompt = (
487
- system_prompt
487
+ f"""IMPORTANT: Any URL returned by tools MUST be included in your response as a markdown link [text](URL).
488
+ Please use the standard [text](URL) format to present links, ensuring the link text remains plain and unformatted.
489
+ Example:
490
+ User: "Create a new page for our project documentation"
491
+ Tool returns: {{"page_url": "https://notion.so/workspace/abc123"}}
492
+ Assistant: "I've created the new page for your project documentation. You can access it here: [Project Documentation](https://notion.so/workspace/abc123)"
493
+ """
494
+ + system_prompt
488
495
  + f"""\n\n
489
- - If the tool needs parameter like botrun_flow_lang_url or user_id, please use the following:
490
- botrun_flow_lang_url: {botrun_flow_lang_url}
491
- user_id: {user_id}
492
- - IMPORTANT: Any URL returned by tools MUST be included in your response as a markdown link [text](URL). Do not omit URLs under any circumstances.
493
- """
496
+ - If the tool needs parameter like botrun_flow_lang_url or user_id, please use the following:
497
+ botrun_flow_lang_url: {botrun_flow_lang_url}
498
+ user_id: {user_id}
499
+ """
494
500
  )
495
501
  system_message = SystemMessage(
496
502
  content=[
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: botrun-flow-lang
3
- Version: 5.9.301
3
+ Version: 5.10.32
4
4
  Summary: A flow language for botrun
5
5
  Author-email: sebastian-hsu <sebastian.hsu@gmail.com>
6
6
  License: MIT
@@ -24,7 +24,7 @@ botrun_flow_lang/api/youtube_api.py,sha256=9eGr--gR2OoM9JZ6Nf9KqPiE-FeXEx8R-QeJv
24
24
  botrun_flow_lang/langgraph_agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  botrun_flow_lang/langgraph_agents/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  botrun_flow_lang/langgraph_agents/agents/agent_runner.py,sha256=eozsyG5Qywd-h4_oHYzPk8c8W9cC1uN2S-11AoQfwOA,6415
27
- botrun_flow_lang/langgraph_agents/agents/langgraph_react_agent.py,sha256=K46MBI8K4gLDrcUO41xhkKG7L82qObuW2qLI0tPooyU,22802
27
+ botrun_flow_lang/langgraph_agents/agents/langgraph_react_agent.py,sha256=Aavc1GJ_6LNyFrT_tR5l_KW3-DGxgPvMzWgFdhtdI0E,23270
28
28
  botrun_flow_lang/langgraph_agents/agents/search_agent_graph.py,sha256=hWDPt0U09Gj-3-NNWhsn9xaakYbOcHExIXqcL8TeZxw,32046
29
29
  botrun_flow_lang/langgraph_agents/agents/agent_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  botrun_flow_lang/langgraph_agents/agents/agent_tools/step_planner.py,sha256=S4TYt0ZhgdAZ-2ndH8hJoEaIyDKdNJdWHjEZ49Lg_NQ,2427
@@ -94,6 +94,6 @@ botrun_flow_lang/utils/yaml_utils.py,sha256=dPlabIol-Clhnwc7N5nuffCaLSq8dyvmvjRw
94
94
  botrun_flow_lang/utils/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
95
  botrun_flow_lang/utils/clients/rate_limit_client.py,sha256=96NNCHB9I5C5bpVFF6sfPhmh4oAx3UdOLb-Z4PAXLdg,8558
96
96
  botrun_flow_lang/utils/clients/token_verify_client.py,sha256=-AnYApJ9CvxVn-RhCCZZ2LCrf065fgskhwLKAm-aiN0,5893
97
- botrun_flow_lang-5.9.301.dist-info/METADATA,sha256=ECDzm0buWAj-HmGJiR93mifllfQkrqQ8DW-dGdy0Vwk,6362
98
- botrun_flow_lang-5.9.301.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
- botrun_flow_lang-5.9.301.dist-info/RECORD,,
97
+ botrun_flow_lang-5.10.32.dist-info/METADATA,sha256=lGn8iUQnoxBXVL_FPw-KaF-fb54m3Up1X7NQ25wkBgk,6362
98
+ botrun_flow_lang-5.10.32.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
+ botrun_flow_lang-5.10.32.dist-info/RECORD,,