openharmony 鸿蒙 js-apis-app-agent-agentConstant-sys

2026-08-25 浏览 (1)

@ohos.app.agent.agentConstant (Agent常量)(系统接口)

agentConstant模块提供Agent相关的常量。

说明:

本模块首批接口从API版本26.0.0开始支持。

本模块接口仅可在Stage模型下使用。

本模块接口均为系统接口。

导入模块

import { agentConstant } from '@kit.AbilityKit';

agentConstant.AgentCardType

Agent卡片的类型。

原子化服务API:从API版本26.0.0开始,该枚举支持在原子化服务中使用。

系统能力:SystemCapability.Ability.AgentRuntime.Core

名称说明
LOW_CODE2低代码型Agent卡片,仅系统应用可使用,适用于系统应用提供的快速构建和部署的智能体能力,支持通过可视化配置或简单脚本快速创建Agent,无需编写完整代码,降低Agent开发门槛。

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apis-app-ability-appServiceExtensionAbility

openharmony 鸿蒙 js-apis-inner-wantAgent-triggerInfo-sys

openharmony 鸿蒙 js-apis-inner-wantAgent-wantAgentInfo-sys

openharmony 鸿蒙 js-apis-appControl-sys

openharmony 鸿蒙 js-apis-app-ability-environmentCallback

openharmony 鸿蒙 js-apis-inner-application-missionInfo-sys

openharmony 鸿蒙 js-apis-bundleManager-sharedBundleInfo-sys

openharmony 鸿蒙 js-apis-inner-application-continueMissionInfo-sys

openharmony 鸿蒙 js-apis-inner-application-appServiceExtensionContext

openharmony 鸿蒙 js-apis-bundleManager-businessAbilityInfo-sys

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/Up7m0DdU