mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-17 20:31:47 +02:00
ui : add Z.ai backend preset
Assisted-by: pi:llama.cpp/DeepSeek-V4.1-Flash
This commit is contained in:
@@ -97,6 +97,14 @@ export const BACKEND_PRESETS: readonly BackendPreset[] = [
|
|||||||
name: 'Kimi',
|
name: 'Kimi',
|
||||||
protocol: 'openai'
|
protocol: 'openai'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
baseUrl: 'https://api.z.ai/api/paas/v4',
|
||||||
|
chatPath: '/chat/completions',
|
||||||
|
id: 'zai',
|
||||||
|
modelsPath: '/models',
|
||||||
|
name: 'Z.ai',
|
||||||
|
protocol: 'openai'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
baseUrl: 'https://api.openai.com',
|
baseUrl: 'https://api.openai.com',
|
||||||
// newer OpenAI models reject max_tokens
|
// newer OpenAI models reject max_tokens
|
||||||
|
|||||||
Reference in New Issue
Block a user