Device Models设备模型定义了 OpenClaw 管理的物理或虚拟设备的能力和约束。每个设备模型描述了设备支持的交互方式、硬件特性与通信协议。设备模型概念设备模型是一种能力声明告诉 Agent 和网关当前设备可以做什么、不能做什么。# 设备模型示例 device: model: smart-speaker capabilities: audio: true display: false keyboard: false touch: false camera: false为什么需要设备模型不同设备有不同的交互能力。Agent 需要根据设备能力调整响应方式——对智能音箱用语音回复对手机用图文回复。内置设备模型能力矩阵设备模型音频显示键盘触控摄像文件desktop✅✅✅❌✅✅mobile✅✅✅✅✅✅tablet✅✅❌✅✅✅smart-speaker✅❌❌❌❌❌smart-display✅✅❌✅✅❌iot-sensor❌❌❌❌❌❌web-client✅✅✅✅❌✅cli❌✅✅❌❌✅设备模型详情desktopmobilesmart-speakermodel: desktop displayName: 桌面电脑 capabilities: audio: { input: true, output: true } display: { width: 1920, height: 1080, color: true } keyboard: true touch: false camera: { resolution: 1080p } fileSystem: { read: true, write: true } messageFormats: [text, markdown, image, file, code] maxMessageLength: 10000添加自定义设备模型在devices/目录下创建设备模型定义文件# devices/kiosk.yaml model: kiosk displayName: 自助终端机 description: 商场自助服务终端 capabilities: audio: input: true output: true display: width: 1080 height: 1920 # 竖屏 color: true keyboard: false touch: true camera: resolution: 720p printer: true # 自定义能力 fileSystem: false messageFormats: [text, image, qrcode] maxMessageLength: 2000 constraints: sessionTimeout: 300 # 5 分钟无操作超时 language: [zh-CN]注册自定义设备模型# openclaw.config.yaml devices: models: - ./devices/kiosk.yaml - ./devices/car-display.yaml设备特定配置在 Agent 中根据设备类型调整行为agents: - name: assistant deviceConfig: smart-speaker: model: gpt-4o-mini # 音箱用轻量模型 maxTokens: 200 # 限制回复长度 responseFormat: voice desktop: model: gpt-4o maxTokens: 2000 responseFormat: markdown mobile: model: gpt-4o-mini maxTokens: 500 responseFormat: text自适应响应Agent 会根据设备能力自动调整回复格式。在智能音箱上只返回简短语音在桌面端可以返回丰富的 Markdown 内容。设备配对设备通过配对流程与 OpenClaw 网关建立信任关系# 在网关端生成配对码 openclaw device pair --model kiosk # 设备端使用配对码连接 # 输出: Pairing code: ABC-123-XYZ # 有效期: 5 分钟《DeepSeek高效数据分析从数据清洗到行业案例》聚焦DeepSeek在数据分析领域的高效应用是系统讲解其从数据处理到可视化全流程的实用指南。作者结合多年职场实战经验不仅深入拆解DeepSeek数据分析的核心功能——涵盖数据采集、清洗、预处理、探索分析、建模回归、聚类、时间序列等及模型评估更通过金融量化数据分析、电商平台数据分析等真实行业案例搭配报告撰写技巧提供独到见解与落地建议。助力职场人在激烈竞争中凭借先进技能突破瓶颈实现职业进阶开启发展新篇。