Compare commits

...
2 Commits
Author SHA1 Message Date
Mats Rauhala db94983590 Update nixpkgs 2026-11-11 12:35:16 +02:00
Mats Rauhala 8c71d04053 Replace gpt4o-mini with deepseek 2026-11-11 12:32:54 +02:00
2 changed files with 9 additions and 10 deletions

No files matched your search

Generated
+8 -9
View File
@@ -5,11 +5,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"lastModified": 1791914995,
"narHash": "sha256-Zf/xfQEAasnwnmEfHqW/4hjDE/s44yn2hD4RuVIZRjA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"rev": "b7a79d3fea1e214f6d668d521cecec0c01e26544",
"type": "github"
},
"original": {
@@ -20,12 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1780930886,
"narHash": "sha256-rppURzHviaQN131F+nLiLdGfcb0uCd9gGP0E5+iw9MI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8c3cede7ddc26bd659d2d383b5610efbd2c7a16e",
"type": "github"
"lastModified": 1793977579,
"narHash": "sha256-4/Yzr1fWTh/zBAR1tR84ZQ1Zhmor8AXwgD4AS7sPn60=",
"rev": "4fe25e12eb9f4c744966dd3de5a05246cf098601",
"type": "tarball",
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1109744.4fe25e12eb9f/nixexprs.tar.zst"
},
"original": {
"id": "nixpkgs",
+1 -1
View File
@@ -47,7 +47,7 @@ completions c prompt = checkpointCallStack $ do
let opts = defaults & header "Authorization" .~ ["Bearer " <> c ^. openrouterKey . re utf8]
let j =
object
[ "model" .= ("openai/gpt-4o-mini" :: Text),
[ "model" .= ("~deepseek/deepseek-flash-latest" :: Text),
"messages"
.= [object ["role" .= ("user" :: Text), "content" .= prompt]]
]