31 lines
610 B
Python
31 lines
610 B
Python
"""
|
|
千问:附件文本 mode 壳。
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from agent.llm.modes import LlmMode
|
|
|
|
MODE = LlmMode.ATTACHMENT_TEXT
|
|
|
|
|
|
def mode_meta() -> dict[str, Any]:
|
|
return {
|
|
"mode": MODE.value,
|
|
"provider": "qwen",
|
|
"purpose": "attachment_text",
|
|
"implemented": False,
|
|
}
|
|
|
|
|
|
def invoke_shell(*, payload: dict[str, Any]) -> dict[str, Any]:
|
|
return {
|
|
"ok": False,
|
|
"stub": True,
|
|
"mode": MODE.value,
|
|
"error": "attachment_text_shell_not_implemented",
|
|
"echo_keys": sorted(payload.keys()),
|
|
}
|