JacobLinCool commited on
Commit
ea81cd4
·
verified ·
1 Parent(s): 7e18ca2

fix: align minicpm tool prompt with lora data

Browse files
Files changed (1) hide show
  1. tests/test_model_runtime.py +2 -0
tests/test_model_runtime.py CHANGED
@@ -105,6 +105,8 @@ def test_render_context_includes_state() -> None:
105
  assert "Archive Cartographer" in context
106
  assert "ECHO x2" in context
107
  assert '<function name="tool_name">' in context
 
 
108
 
109
 
110
  def test_system_prompt_keeps_runtime_role_user_facing() -> None:
 
105
  assert "Archive Cartographer" in context
106
  assert "ECHO x2" in context
107
  assert '<function name="tool_name">' in context
108
+ assert "Available tools:" in context
109
+ assert "search_projects" in context
110
 
111
 
112
  def test_system_prompt_keeps_runtime_role_user_facing() -> None: