mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-25 05:46:13 +00:00
926e0c0854
- 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.
34 lines
613 B
YAML
34 lines
613 B
YAML
apiVersion: v1
|
|
kind: LLMAPIRequester
|
|
metadata:
|
|
name: ollama-chat
|
|
label:
|
|
en_US: Ollama
|
|
zh_Hans: Ollama
|
|
icon: ollama.svg
|
|
spec:
|
|
litellm_provider: ollama
|
|
config:
|
|
- name: base_url
|
|
label:
|
|
en_US: Base URL
|
|
zh_Hans: 基础 URL
|
|
type: string
|
|
required: true
|
|
default: http://127.0.0.1:11434
|
|
- name: timeout
|
|
label:
|
|
en_US: Timeout
|
|
zh_Hans: 超时时间
|
|
type: integer
|
|
required: true
|
|
default: 120
|
|
support_type:
|
|
- llm
|
|
- text-embedding
|
|
provider_category: self-hosted
|
|
execution:
|
|
python:
|
|
path: ./ollamachat.py
|
|
attr: OllamaChatCompletions
|