Spaces:
Running on Zero
Running on Zero
fix: align minicpm tool prompt with lora data
Browse files
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:
|