opencode-gpt-imagegen 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ async function loadOpenAIAuth() {
31
31
  // src/codex.ts
32
32
  import { EventSourceParserStream } from "eventsource-parser/stream";
33
33
  var CODEX_RESPONSES_ENDPOINT = "https://chatgpt.com/backend-api/codex/responses";
34
- var SUBSCRIPTION_MODEL = "gpt-5.5";
34
+ var SUBSCRIPTION_MODEL = "gpt-6-sol";
35
35
  async function parseImageGenerationResultFromSSE(stream) {
36
36
  const events = stream.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream);
37
37
  for await (const event of events) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-gpt-imagegen",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "OpenCode plugin for GPT Image 2 generation through your ChatGPT subscription, with reference images and safe PNG output.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",