mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
* feat(provider): add rerank model management as a core model type * feat(provider): add rerank support to existing requesters and new rerank providers * feat(web): add rerank model management UI and pipeline config * fix(provider): correct rerank support_type after verification - Add rerank to OpenRouter (confirmed /api/v1/rerank endpoint) - Remove rerank from Ollama (no native support, PR #7219 unmerged) - Remove rerank from JiekouAI (no rerank docs found, URL path mismatch) * fix(provider): remove alru_cache from model getters and add rerank param hints * fix: resolve lint errors - Remove unused alru_cache import from modelmgr.py - Remove unused error_message variable in invoke_rerank - Fix prettier formatting in frontend files Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix: remove unused exception variable - Change `except Exception as e:` to `except Exception:` since e is not used - Fix prettier formatting in ProviderCard.tsx Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix: apply ruff format Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * feat(template): add rerank config fields to default pipeline config Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * chore: remove PR.md Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix(ui): remove duplicate rerank model form in AddModelPopover The form was being rendered twice: once in TabsContent manual mode and again in a separate conditional block for rerank tab. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
34 lines
644 B
YAML
34 lines
644 B
YAML
apiVersion: v1
|
|
kind: LLMAPIRequester
|
|
metadata:
|
|
name: siliconflow-chat-completions
|
|
label:
|
|
en_US: SiliconFlow
|
|
zh_Hans: 硅基流动
|
|
icon: siliconflow.svg
|
|
spec:
|
|
config:
|
|
- name: base_url
|
|
label:
|
|
en_US: Base URL
|
|
zh_Hans: 基础 URL
|
|
type: string
|
|
required: true
|
|
default: https://api.siliconflow.cn/v1
|
|
- name: timeout
|
|
label:
|
|
en_US: Timeout
|
|
zh_Hans: 超时时间
|
|
type: integer
|
|
required: true
|
|
default: 120
|
|
support_type:
|
|
- llm
|
|
- text-embedding
|
|
- rerank
|
|
provider_category: maas
|
|
execution:
|
|
python:
|
|
path: ./siliconflowchatcmpl.py
|
|
attr: SiliconFlowChatCompletions
|