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.