Support Assistent persona packs via git and local sync.
Replace assistent-personas overlay seed with assistent-extensions SFTP and an assistent: section in extensions.yaml so personalities install like other extensions without private URLs in the public repo. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -221,7 +221,7 @@ def test_chat_eval_mocked_http(monkeypatch, tmp_path):
|
||||
if url.endswith("/API/AssistentGetConfig"):
|
||||
return True, {
|
||||
"success": True,
|
||||
"persona": "leonid",
|
||||
"persona": "neutral",
|
||||
"exact": {
|
||||
"profiles": {"turbo": {"steps": 8, "cfg": 1, "sigma_shift": 1.15}}
|
||||
},
|
||||
@@ -245,14 +245,14 @@ def test_chat_eval_mocked_http(monkeypatch, tmp_path):
|
||||
out = debug_assistent.run_assistent_chat_eval(
|
||||
cfg,
|
||||
message="какой checkpoint?",
|
||||
persona="leonid",
|
||||
persona="neutral",
|
||||
timeout=60,
|
||||
)
|
||||
assert out["ok"] is True
|
||||
assert out["via"] == "local"
|
||||
assert out["model"] == "qwen3-vl:8b"
|
||||
assert out["preferred"] == "qwen3-vl:8b"
|
||||
assert out["persona"] == "leonid"
|
||||
assert out["persona"] == "neutral"
|
||||
assert out["patch"]["steps"] == 4
|
||||
assert out["patch"]["cfg"] == 1
|
||||
assert out["patch"]["aspect"] == "3:4"
|
||||
@@ -317,7 +317,7 @@ def test_assistent_compact_and_roles_local(monkeypatch, tmp_path):
|
||||
],
|
||||
"overlay": {
|
||||
"exists": True,
|
||||
"persona_ids": ["leonid"],
|
||||
"persona_ids": ["neutral"],
|
||||
"roles_present": True,
|
||||
"roles": {
|
||||
"chat": ["qwen3-vl:8b"],
|
||||
|
||||
Reference in New Issue
Block a user