Files
ragflow/conf/models/huggingface.json
Haruko386 128a64eae5 Refactor(Go): remove hardcode in huggingface provider (#14822)
### What problem does this PR solve?

remove hardcode in `huggingface` provider

### Type of change

- [x] Refactoring
2026-05-12 11:35:26 +08:00

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"
]
}
]
}