revert: restore the bundled DeepSeek Flash display name
This commit is contained in:
1 parent
c6acc07232
commit
32efe36a4e
10 files changed
+14
-14
No files matched your search
@@ -30,7 +30,7 @@
|
||||
- text: deepseek-flash
|
||||
- textbox "显示名称 1":
|
||||
- /placeholder: 显示名称
|
||||
- text: DeepSeek-V4.1-Flash-1017
|
||||
- text: DeepSeek-V4.1-Flash
|
||||
- button "模型选项 1"
|
||||
- button "删除模型 1"
|
||||
- textbox "模型 ID 2":
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
- text: deepseek-flash
|
||||
- textbox "显示名称 1":
|
||||
- /placeholder: 显示名称
|
||||
- text: DeepSeek-V4.1-Flash-1017
|
||||
- text: DeepSeek-V4.1-Flash
|
||||
- button "模型选项 1" [expanded]
|
||||
- button "删除模型 1"
|
||||
- text: 上下文窗口
|
||||
|
||||
@@ -213,7 +213,7 @@ describe.skipIf(MODE === 'record')('web e2e: first-run DeepSeek credential setup
|
||||
await deepSeek.locator('xpath=ancestor::li').getByRole('button', { name: '编辑' }).click()
|
||||
await settings.getByText('自定义设置').click()
|
||||
expect(await settings.getByLabel('模型 ID 1').inputValue()).toBe('deepseek-flash')
|
||||
expect(await settings.getByLabel('显示名称 1').inputValue()).toBe('DeepSeek-V4.1-Flash-1017')
|
||||
expect(await settings.getByLabel('显示名称 1').inputValue()).toBe('DeepSeek-V4.1-Flash')
|
||||
expect(await settings.getByLabel('模型 ID 2').inputValue()).toBe('deepseek-v4-pro')
|
||||
expect(await settings.getByRole('button', { name: /删除模型/ }).count()).toBe(2)
|
||||
await settings.getByRole('button', { name: '模型选项 1' }).click()
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
en: 3bd37b85139d2fa7
|
||||
zh: ba86c807eb83866e
|
||||
/deepseek-ai-dsh-web-app/use-this-package/starting-the-web-gui:
|
||||
en: a1cf03cc8ad908c5
|
||||
zh: c06b89454172a47d
|
||||
en: e3cac911f080d8ef
|
||||
zh: 60749e9f5c39c1bc
|
||||
/deepseek-ai-dsh-web-app/use-this-package/configuration:
|
||||
en: b1787804544f2587
|
||||
zh: ce09d2c248ffd999
|
||||
|
||||
@@ -40,7 +40,7 @@ dsh --profile web --no-open --port 8080
|
||||
|
||||
After startup you see a `dsh web:` line whose root URL carries a fresh process token. Unless `--no-open` or an SSH session suppresses it, the default browser opens that URL, receives a signed cookie, and redirects to the same directory without the token. You know it worked when the page loads and you can chat with the agent. Two failures to expect: if the frontend is not built, startup stops with a build hint (`pnpm run build` in a checkout); if the browser cannot be opened, a credential-free diagnostic prints to stderr while the server keeps running — open the printed startup URL yourself.
|
||||
|
||||
**Settings → Models** displays **DeepSeek**, using `DEEPSEEK_API_KEY`. The default is `deepseek-official` / `deepseek-flash` (DeepSeek-V4.1-Flash-1017). The [DeepSeek plugin](../../llm/llm-deepseek/README.md#endpoint-and-wire-format) uses the Messages API.
|
||||
**Settings → Models** displays **DeepSeek**, using `DEEPSEEK_API_KEY`. The default is `deepseek-official` / `deepseek-flash` (DeepSeek-V4.1-Flash). The [DeepSeek plugin](../../llm/llm-deepseek/README.md#endpoint-and-wire-format) uses the Messages API.
|
||||
|
||||
Saved model selections override the composition default. The settings card accepts a Messages-compatible API address and a credential reference.
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ dsh --profile web --no-open --port 8080
|
||||
|
||||
启动后你会看到 `dsh web:` 行,其根 URL 携带新的进程 token。除非 `--no-open` 或 SSH 会话抑制,否则默认浏览器会打开该 URL、取得签名 cookie,再重定向到不含认证参数的同一目录。页面加载且你可以与 agent 对话,就说明成功了。两种可预期的失败:前端未构建时,启动会以构建提示停止(checkout 中运行 `pnpm run build`);浏览器无法打开时,stderr 会打印不含凭据的诊断,但服务器会继续运行——请自行打开已打印的启动 URL。
|
||||
|
||||
**设置 → 模型**显示 **DeepSeek**,使用 `DEEPSEEK_API_KEY`。默认模型为 `deepseek-official` / `deepseek-flash`(DeepSeek-V4.1-Flash-1017)。[DeepSeek 插件](../../llm/llm-deepseek/README.zh.md#endpoint-and-wire-format)使用 Messages API。
|
||||
**设置 → 模型**显示 **DeepSeek**,使用 `DEEPSEEK_API_KEY`。默认模型为 `deepseek-official` / `deepseek-flash`(DeepSeek-V4.1-Flash)。[DeepSeek 插件](../../llm/llm-deepseek/README.zh.md#endpoint-and-wire-format)使用 Messages API。
|
||||
|
||||
已保存的模型选择覆盖组合默认值。设置卡接受兼容 Messages 的 API 地址与凭据引用。
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ describe('without a listing', () => {
|
||||
it('offers the bundled catalog', () => {
|
||||
const catalog = resolve(undefined)
|
||||
expect(catalog.offered.map(model => [model.id, model.name, model.contextWindow])).toEqual([
|
||||
['deepseek-flash', 'DeepSeek-V4.1-Flash-1017', 1_000_000], ['deepseek-v4-pro', 'DeepSeek-V4-Pro', 1_000_000],
|
||||
['deepseek-flash', 'DeepSeek-V4.1-Flash', 1_000_000], ['deepseek-v4-pro', 'DeepSeek-V4-Pro', 1_000_000],
|
||||
])
|
||||
expect(catalog.resolution).toEqual(catalog.offered)
|
||||
expect(catalog.refusals.size).toBe(0)
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { DeepSeekCatalogModel } from './types.ts'
|
||||
export const DEFAULT_MODELS: DeepSeekCatalogModel[] = [
|
||||
{
|
||||
id: 'deepseek-flash',
|
||||
name: 'DeepSeek-V4.1-Flash-1017',
|
||||
name: 'DeepSeek-V4.1-Flash',
|
||||
contextWindow: DEFAULT_CONTEXT_WINDOW,
|
||||
inputModalities: ['text', 'image'],
|
||||
systemPromptUpdate: 'in-history',
|
||||
|
||||
@@ -141,7 +141,7 @@ describe('direct Messages HTTP', () => {
|
||||
expect(llm.providerInfo('deepseek-official')).toEqual({ id: 'deepseek-official', name: 'DeepSeek' })
|
||||
expect(await llm.listModels('deepseek-official')).toEqual([])
|
||||
expect(await llm.resolveModel('deepseek-official', 'deepseek-flash')).toMatchObject({
|
||||
name: 'DeepSeek-V4.1-Flash-1017', inputModalities: ['text', 'image'], systemPromptUpdate: 'in-history',
|
||||
name: 'DeepSeek-V4.1-Flash', inputModalities: ['text', 'image'], systemPromptUpdate: 'in-history',
|
||||
})
|
||||
expect(await llm.resolveModel('deepseek-official', MODEL)).toMatchObject({ id: MODEL })
|
||||
expect(llm.imageRequestPricing('deepseek-official', MODEL)).toBeDefined()
|
||||
|
||||
@@ -1794,7 +1794,7 @@ describe('plugin registration and config', () => {
|
||||
await ctx.plugin(LlmDeepSeek, { baseURL: 'http://127.0.0.1:1' })
|
||||
expect(ctx.llm.listProviders()).toEqual([{ id: 'deepseek-official', name: 'DeepSeek' }])
|
||||
await expect(ctx.llm.listModels('deepseek-official')).resolves.toEqual([
|
||||
{ provider: 'deepseek-official', id: 'deepseek-flash', name: 'DeepSeek-V4.1-Flash-1017', inputModalities: ['text', 'image'] },
|
||||
{ provider: 'deepseek-official', id: 'deepseek-flash', name: 'DeepSeek-V4.1-Flash', inputModalities: ['text', 'image'] },
|
||||
{
|
||||
provider: 'deepseek-official',
|
||||
id: 'deepseek-v4-pro',
|
||||
@@ -1807,7 +1807,7 @@ describe('plugin registration and config', () => {
|
||||
.resolves.toMatchObject({
|
||||
provider: 'deepseek-official',
|
||||
id: 'deepseek-flash',
|
||||
name: 'DeepSeek-V4.1-Flash-1017',
|
||||
name: 'DeepSeek-V4.1-Flash',
|
||||
inputModalities: ['text', 'image'],
|
||||
systemPromptUpdate: 'in-history',
|
||||
context: { contextWindow: 1_000_000 },
|
||||
@@ -1922,7 +1922,7 @@ describe('plugin registration and config', () => {
|
||||
await ctx.plugin(LlmRuntime)
|
||||
LlmDeepSeek.apply(ctx, LlmDeepSeek.Config({ baseURL: 'http://127.0.0.1:1' }))
|
||||
await expect(ctx.llm.listModels('deepseek-official')).resolves.toEqual([
|
||||
{ provider: 'deepseek-official', id: 'deepseek-flash', name: 'DeepSeek-V4.1-Flash-1017', inputModalities: ['text', 'image'] },
|
||||
{ provider: 'deepseek-official', id: 'deepseek-flash', name: 'DeepSeek-V4.1-Flash', inputModalities: ['text', 'image'] },
|
||||
{
|
||||
provider: 'deepseek-official',
|
||||
id: 'deepseek-v4-pro',
|
||||
@@ -2314,7 +2314,7 @@ describe('plugin registration and config', () => {
|
||||
const adapter = adapterOf()
|
||||
expect(adapter).toBeInstanceOf(DeepSeekAdapter)
|
||||
await expect(adapter.listModels('deepseek-official')).resolves.toEqual([])
|
||||
await expect(adapter.resolveModel('deepseek-official', 'deepseek-flash')).resolves.toMatchObject({ name: 'DeepSeek-V4.1-Flash-1017' })
|
||||
await expect(adapter.resolveModel('deepseek-official', 'deepseek-flash')).resolves.toMatchObject({ name: 'DeepSeek-V4.1-Flash' })
|
||||
})
|
||||
|
||||
it('resolves connection facts and the credential exactly once per stream call', async () => {
|
||||
|
||||
Reference in new issue
Block a user