docs: models recommendation

This commit is contained in:
Simon
2026-01-13 15:17:43 +08:00
parent 2f2bdb4697
commit 1e737f3a71
3 changed files with 14 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ export default function DocsLayout({ children }: DocsLayoutProps) {
{
title: t('nav.features'),
items: [
{ title: t('nav.models'), path: '/docs/features/model-integration' },
{ title: t('nav.models'), path: '/docs/features/models' },
{ title: t('nav.custom_tools'), path: '/docs/features/custom-tools' },
{ title: t('nav.knowledge_injection'), path: '/docs/features/custom-instructions' },
{ title: t('nav.data_masking'), path: '/docs/features/data-masking' },

View File

@@ -4,13 +4,19 @@ import CodeEditor from '@/components/CodeEditor'
// Recommended models: lightweight with excellent tool call capabilities
const MODELS = {
recommended: ['gpt-4.1-mini', 'claude-haiku-4.5', 'gemini-3-flash', 'deepseek-3.2', 'gpt-5.2'],
verified: [
recommended: [
'gpt-4.1-mini',
'claude-haiku-4.5',
'gemini-3-flash',
'deepseek-3.2',
'gpt-5.2',
'qwen-3-max',
],
verified: [
'qwen-3-plus',
'gpt-4.1',
'gpt-5',
'gpt-5-mini',
'gpt-5.1',
'grok-4',
'grok-code-fast',
'claude-sonnet-3.5',
@@ -21,7 +27,7 @@ const MODELS = {
],
}
export default function ModelIntegration() {
export default function Models() {
const { t } = useTranslation('docs')
const allModels = [...MODELS.recommended, ...MODELS.verified]