mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-27 19:25:58 +08:00
### What problem does this PR solve? remove hardcode in `huggingface` provider ### Type of change - [x] Refactoring
21 lines
386 B
JSON
21 lines
386 B
JSON
{
|
|
"name": "HuggingFace",
|
|
"url": {
|
|
"default": "https://router.huggingface.co/v1"
|
|
},
|
|
"url-suffix": {
|
|
"chat": "chat/completions",
|
|
"models": "models",
|
|
"embedding": "hf-inference/models"
|
|
},
|
|
"class": "huggingface",
|
|
"models": [
|
|
{
|
|
"name": "openai/gpt-oss-120b:fastest",
|
|
"max_tokens": 32768,
|
|
"model_types": [
|
|
"chat"
|
|
]
|
|
}
|
|
]
|
|
} |