Merge PR #2879: Hugging Face provider docs and tests
Harvested from PR #2879 by @mvanhorn Co-authored-by: mvanhorn <455140+mvanhorn@users.noreply.github.com>
This commit is contained in:
+3
-1
@@ -269,7 +269,8 @@ max_subagents = 10 # optional (1-20)
|
||||
# SGLang: SGLANG_BASE_URL, SGLANG_MODEL, optional SGLANG_API_KEY
|
||||
# vLLM: VLLM_BASE_URL, VLLM_MODEL, optional VLLM_API_KEY
|
||||
# Ollama: OLLAMA_BASE_URL, OLLAMA_MODEL, optional OLLAMA_API_KEY
|
||||
# Hugging Face: HUGGINGFACE_API_KEY (or HF_TOKEN), HUGGINGFACE_BASE_URL (or HF_BASE_URL), HUGGINGFACE_MODEL (or HF_MODEL)
|
||||
# Hugging Face: HUGGINGFACE_API_KEY (or HF_TOKEN), HUGGINGFACE_BASE_URL (or HF_BASE_URL),
|
||||
# HUGGINGFACE_MODEL (or HF_MODEL)
|
||||
#
|
||||
# Custom DeepSeek-compatible APIs usually do not need a new provider table:
|
||||
# set `provider = "deepseek"` and override [providers.deepseek].base_url/model.
|
||||
@@ -420,6 +421,7 @@ max_subagents = 10 # optional (1-20)
|
||||
# model = "deepseek-coder:1.3b" # or any local Ollama tag
|
||||
|
||||
# Hugging Face Inference Providers (https://huggingface.co/docs/api-inference)
|
||||
# Provider aliases: huggingface, hugging-face, hugging_face, hf
|
||||
# Env var aliases: HUGGINGFACE_API_KEY / HF_TOKEN, HUGGINGFACE_BASE_URL / HF_BASE_URL,
|
||||
# HUGGINGFACE_MODEL / HF_MODEL
|
||||
[providers.huggingface]
|
||||
|
||||
Reference in New Issue
Block a user