mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 08:46:02 +00:00
- Added `litellm_provider` field to various requesters' YAML configurations. - Removed obsolete Python requester files for OpenRouter, PPIO, QHAIGC, ShengSuanYun, SiliconFlow, Space, TokenPony, VolcArk, and Xai. - Introduced new requesters for Tencent and Together AI with corresponding YAML configurations and SVG icons. - Enhanced the ProviderForm component to include a searchable dropdown for selecting providers, improving user experience. - Updated localization files to include search provider text for both English and Chinese.
42 lines
795 B
YAML
42 lines
795 B
YAML
apiVersion: v1
|
|
kind: LLMAPIRequester
|
|
metadata:
|
|
name: modelscope-chat-completions
|
|
label:
|
|
en_US: ModelScope
|
|
zh_Hans: 魔搭社区
|
|
icon: modelscope.svg
|
|
spec:
|
|
litellm_provider: openai
|
|
config:
|
|
- name: base_url
|
|
label:
|
|
en_US: Base URL
|
|
zh_Hans: 基础 URL
|
|
type: string
|
|
required: true
|
|
default: https://api-inference.modelscope.cn/v1
|
|
- name: args
|
|
label:
|
|
en_US: Args
|
|
zh_Hans: 附加参数
|
|
type: object
|
|
required: true
|
|
default: {}
|
|
- name: timeout
|
|
label:
|
|
en_US: Timeout
|
|
zh_Hans: 超时时间
|
|
type: int
|
|
required: true
|
|
default: 120
|
|
support_type:
|
|
- llm
|
|
- text-embedding
|
|
- rerank
|
|
provider_category: maas
|
|
execution:
|
|
python:
|
|
path: ./modelscopechatcmpl.py
|
|
attr: ModelScopeChatCompletions
|