diff --git a/flake.lock b/flake.lock index 13b44af..2babf45 100644 --- a/flake.lock +++ b/flake.lock @@ -103,11 +103,11 @@ ] }, "locked": { - "lastModified": 1785627969, - "narHash": "sha256-4dtXQk/NMePegK/nWp5NSeuZKLATItOq61lpEvmXqGw=", + "lastModified": 1787559586, + "narHash": "sha256-onL0VLf9vPllmT0H/OlURIU5r5t5WIEl7t4tVNKT0Nw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "427bf4bd9435fdf21321c8cc628c24efc14c0f7a", + "rev": "9d0d87172c374f89da73c1cfe6d81ae62feac1f1", "type": "github" }, "original": { @@ -201,11 +201,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1787535089, - "narHash": "sha256-RlhGqY8S0GDiYDep6UypAcGe22ablYZZ8aqmtrlBURw=", + "lastModified": 1788145797, + "narHash": "sha256-nZhuKSUtaUl+MvEkeIh15BvmInQEdAO9VMtepVIfmbs=", "owner": "modem-dev", "repo": "hunk", - "rev": "1210c084d38f0d8898d009b82a9142638c21ad80", + "rev": "f28ad59f219c7c629b691a5682b49cecc8a07c35", "type": "github" }, "original": { @@ -238,11 +238,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1787551962, - "narHash": "sha256-zfumhlJTGDKSILebSBa8nTKG76ByIPlLkGPAKjxaiwE=", + "lastModified": 1788151314, + "narHash": "sha256-uNWTTBhvj+tPqfDJUuMq9hkVYb69YFz4dEGlnfsCW8A=", "owner": "numtide", "repo": "llm-agents.nix", - "rev": "46e6a013fd49779cd2def2c98fa447f197da3fe7", + "rev": "e0e1c45e2d609f4a206ead7a637c28801e36baab", "type": "github" }, "original": { @@ -371,11 +371,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1787414105, - "narHash": "sha256-WncT27+3BOkgTaJZLnCsf3LcYf9RXMuR9ONSN4rzQ7s=", + "lastModified": 1787962033, + "narHash": "sha256-u6z9VTZA4Kf3RkHQo9sQI7NI4Ei/uiU9vrMqOiwWP1Y=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a9e6d84f9c2f9012f5fe7d964a7851352300e61a", + "rev": "c5c4a43b0e8056328ec4529f735cabdb8f1942bb", "type": "github" }, "original": { @@ -387,11 +387,11 @@ }, "nixpkgs-wsl-stable": { "locked": { - "lastModified": 1787414105, - "narHash": "sha256-WncT27+3BOkgTaJZLnCsf3LcYf9RXMuR9ONSN4rzQ7s=", + "lastModified": 1787962033, + "narHash": "sha256-u6z9VTZA4Kf3RkHQo9sQI7NI4Ei/uiU9vrMqOiwWP1Y=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a9e6d84f9c2f9012f5fe7d964a7851352300e61a", + "rev": "c5c4a43b0e8056328ec4529f735cabdb8f1942bb", "type": "github" }, "original": { @@ -403,11 +403,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1787209939, - "narHash": "sha256-WvvHR4kSQLAbtouMC/ruZ5UpLwlUcY3K4FAllMN+yGk=", + "lastModified": 1787424095, + "narHash": "sha256-dWLO5AHhKaw6rdWCtTes8hnntT1r0/J5yhQGm0f0ZgU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "391b592eb44808b3bd0cb80bb71b63a5a118b8bb", + "rev": "174eb786fb68e3a13e4e535a3deea479a0c07a6a", "type": "github" }, "original": { @@ -435,11 +435,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1787360063, - "narHash": "sha256-dt4WdcvsA8/RCe+VZZwqU0X+XMM3wBbGCWA0/sFWzGo=", + "lastModified": 1788039129, + "narHash": "sha256-pa4Q0qErvCvzCaaUph7Sm37RhR4xvPrYI8Lgz6k85+A=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2c423e03bbafcff28bfadc6781a4a8257f205cb5", + "rev": "d2f67949798825fe853f7c5d0492b8bf016d3f88", "type": "github" }, "original": { diff --git a/modules/pi/agent/models.work.json b/modules/pi/agent/models.work.json index d53f78f..82f23e0 100644 --- a/modules/pi/agent/models.work.json +++ b/modules/pi/agent/models.work.json @@ -44,6 +44,41 @@ "thinkingFormat": "qwen-chat-template", "maxTokensField": "max_tokens" } + }, + { + "id": "deepseek-v4-flash", + "name": "DeepSeek v4 Flash (local vLLM)", + "reasoning": true, + "input": ["text"], + "contextWindow": 393216, + "maxTokens": 65536, + "samplingParams": { + "temperature": 1, + "top_p": 0.95 + }, + "thinkingLevelMap": { + "minimal": null, + "low": "low", + "medium": null, + "high": "high", + "xhigh": null, + "max": "max" + }, + "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, + "compat": { + "thinkingFormat": "chat-template", + "supportsUsageInStreaming": true, + "requiresReasoningContentOnAssistantMessages": true, + "chatTemplateKwargs": { + "thinking": { + "$var": "thinking.enabled" + }, + "reasoning_effort": { + "$var": "thinking.effort" + } + }, + "maxTokensField": "max_tokens" + } } ] }, @@ -74,6 +109,101 @@ } } ] + }, + "bifrost": { + "baseUrl": "http://192.168.10.111:8080/v1", + "api": "openai-completions", + "apiKey": "vllm", + "headers": { + "x-bf-vk": "sk-bf-7efb6014-35ef-43c7-a361-c106709e1be5" + }, + "compat": { + "supportsDeveloperRole": false, + "supportsReasoningEffort": false + }, + "models": [ + { + "id": "deepseek-v4-flash", + "name": "DeepSeek v4 Flash (local vLLM)", + "reasoning": true, + "input": ["text"], + "contextWindow": 393216, + "maxTokens": 65536, + "samplingParams": { + "temperature": 1, + "top_p": 0.95 + }, + "thinkingLevelMap": { + "minimal": null, + "low": "low", + "medium": null, + "high": "high", + "xhigh": null, + "max": "max" + }, + "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, + "compat": { + "thinkingFormat": "chat-template", + "supportsUsageInStreaming": true, + "requiresReasoningContentOnAssistantMessages": true, + "chatTemplateKwargs": { + "thinking": { + "$var": "thinking.enabled" + }, + "reasoning_effort": { + "$var": "thinking.effort" + } + }, + "maxTokensField": "max_tokens" + } + } + ] + }, + "newapi": { + "baseUrl": "http://192.168.10.111:3000/v1", + "api": "openai-completions", + "apiKey": "sk-EeSqF8gbb1hEajBZhZzKuyqF4HJkA7RDsws0cQCSBQizJ3SW", + "compat": { + "supportsDeveloperRole": false, + "supportsReasoningEffort": false + }, + "models": [ + { + "id": "deepseek-v4-flash", + "name": "DeepSeek v4 Flash (local vLLM)", + "reasoning": true, + "input": ["text"], + "contextWindow": 393216, + "maxTokens": 65536, + "samplingParams": { + "temperature": 1, + "top_p": 0.95 + }, + "thinkingLevelMap": { + "minimal": null, + "low": "low", + "medium": null, + "high": "high", + "xhigh": null, + "max": "max" + }, + "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, + "compat": { + "thinkingFormat": "chat-template", + "supportsUsageInStreaming": true, + "requiresReasoningContentOnAssistantMessages": true, + "chatTemplateKwargs": { + "thinking": { + "$var": "thinking.enabled" + }, + "reasoning_effort": { + "$var": "thinking.effort" + } + }, + "maxTokensField": "max_tokens" + } + } + ] } } } diff --git a/modules/pi/agent/settings.work.json b/modules/pi/agent/settings.work.json index 247c98d..4c24382 100644 --- a/modules/pi/agent/settings.work.json +++ b/modules/pi/agent/settings.work.json @@ -1,8 +1,8 @@ { - "lastChangelogVersion": "0.84.2", + "lastChangelogVersion": "0.84.4", "theme": "light", - "defaultProvider": "sparkl", - "defaultModel": "Qwen/Qwen3.8-27B-FP8", + "defaultProvider": "anthropic", + "defaultModel": "claude-opus-5-default", "defaultThinkingLevel": "high", "hideThinkingBlock": false, "retry": {