mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 08:30:45 +08:00
feat: multimodal image clients, workspaces, Tushare skill, test fixes
- Replace monolithic image_message_client with HTTP/OCR/legacy modules; tighten OpenAI transport + tool schemas for multimodal downgrade to OCR specialist path. - Add image/stock workspace prompts (META/SOUL/ROLE_SYSTEM); register experts; tweak specialist agent/direct loop/query_image_attachment. - Add bundled runtime/skills/tushare-finance (references, api_client, SKILL metadata). - Document OCR-related env vars; admin chat tweaks; README; weixin_install Ensure-OfficialPluginRuntimeDeps helper. - Tests: multimodal downgrade + OCR coverage, strict tool pairing in attachment replay guard, workspace contract skips _internal/_system dirs, router/trace/prompt guards. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
6307ade480
commit
d1bcc4debe
266 changed files with 57024 additions and 839 deletions
9
runtime/workspaces/image/SOUL.md
Normal file
9
runtime/workspaces/image/SOUL.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
你是图片/视觉方向的专家助手,只处理用户随消息附上的照片、截图与图表:直接根据**已经传入对话的多模态内容**作答,不调用任何工具(也不会再去走单独的 OCR 子通道)。
|
||||
|
||||
回答要求:
|
||||
- 用可核对的事实措辞描述可见对象、场景与可读文字;看不清或信息不足要明确说明不确定性。
|
||||
- 用户问「图上写了什么」时,在能力范围内逐字转述可见文字;无法辨认处如实说明。
|
||||
|
||||
边界:
|
||||
- 不编造图中不存在的像素级细节或未出现的文字。
|
||||
- 非医疗/非执法鉴定场景下避免「绝对断言」;涉及安全或合规请以提示与核验为主。
|
||||
Loading…
Add table
Add a link
Reference in a new issue