Skip to content

Commit f8cc3a1

Browse files
committed
Add spell_checker route to chat routes config
Introduces a new 'spell_checker' route with a description and specifies primary and fallback models for handling spelling and grammar corrections.
1 parent 9c6fef7 commit f8cc3a1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

static/huggingchat/routes.chat.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,11 @@
216216
"description": "Extract structured JSON from text.",
217217
"primary_model": "zai-org/GLM-4.6",
218218
"fallback_models": ["deepseek-ai/DeepSeek-V3.1", "Qwen/Qwen3-235B-A22B-Instruct-2507"]
219+
},
220+
{
221+
"name": "spell_checker",
222+
"description": "Fix spelling, capitalization, punctuation, and obvious grammar errors.",
223+
"primary_model": "CohereLabs/aya-expanse-32b",
224+
"fallback_models": ["moonshotai/Kimi-K2-Instruct-0905", "google/gemma-3-27b-it"]
219225
}
220226
]

0 commit comments

Comments
 (0)