CyanSalt/dsh-plugins--packages-web-search-ark ↗★ 0

@cyansalt/dsh-web-search-ark

为应用提供火山引擎Ark网页搜索服务 适合需要让Ark模型具备联网搜索和信息检索能力的开发者。

包名
@cyansalt/dsh-web-search-ark
兼容性
待验证
Harness 依赖范围
>=0.0.1-rc.1
Cordis 依赖范围
>=4.0.3
版本
0.1.3
许可证
ISC
最近更新
2026年10月8日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Usage

Load the plugin alongside @deepseek-ai/dsh-llm-pi-ai and @deepseek-ai/dsh-web. The plugin reads its endpoint and credential reference from the selected PiAI provider profile.

- id: llm-pi-ai
  name: '@deepseek-ai/dsh-llm-pi-ai'
  config:
    providers:
      ark:
        api: openai-responses
        apiKeyEnv: ARK_API_KEY
        baseURL: https://ark.cn-beijing.volces.com/api/v3
        models:
          - id: ep-example
            name: Example Model

- id: web-search-ark
  name: '@cyansalt/dsh-web-search-ark'
  config:
    provider: ark
    model: ep-example
    maxKeyword: 5

- id: web
  name: '@deepseek-ai/dsh-web'
  config:
    searchProvider: web-search-ark

Configuration

FieldTypeDefaultDescription
providerstringarkKey under llm-pi-ai.providers that supplies apiKeyEnv and baseURL
modelstringCurrent agent modelModel or endpoint ID used for the search request
maxKeywordnumberUnsetMaximum keywords Ark may use per search; must be an integer from 1 to 50

When the selected provider profile does not set baseURL, the plugin uses https://ark.cn-beijing.volces.com/api/v3. Its apiKeyEnv value is a credential reference, not the API key itself. The reference is resolved through the DSH credential service and then the launch environment.

The search provider is available only when the selected profile declares apiKeyEnv. If the reference has no value, the request is sent without an authorization header.