Use OpenAI messages format

This commit is contained in:
Alex Gleason committed 2025-08-24 16:12:53 -05:00
1 parent 5d11f51e05
commit 558044db25
6 files changed
+345 -42

No files matched your search

+23 -1
View File
@@ -62,6 +62,7 @@
"lucide-react": "^0.525.0",
"next-themes": "^0.3.0",
"nostr-tools": "^2.15.2",
"openai": "^5.15.0",
"path-browserify": "^1.0.1",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
@@ -8897,6 +8898,27 @@
"regex-recursion": "^6.0.2"
}
},
"node_modules/openai": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/openai/-/openai-5.15.0.tgz",
"integrity": "sha512-kcUdws8K/A8m02I+IqFBwO51gS+87GP89yWEufGbzEi8anBz4FB/bti2QxaJdGwwY4mwJGzx85XO7TuL/Tpu1w==",
"license": "Apache-2.0",
"bin": {
"openai": "bin/cli"
},
"peerDependencies": {
"ws": "^8.18.0",
"zod": "^3.23.8"
},
"peerDependenciesMeta": {
"ws": {
"optional": true
},
"zod": {
"optional": true
}
}
},
"node_modules/optionator": {
"version": "0.9.4",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
@@ -11822,7 +11844,7 @@
"version": "8.18.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz",
"integrity": "sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==",
"dev": true,
"devOptional": true,
"license": "MIT",
"engines": {
"node": ">=10.0.0"