@ai-agent-forge/plugin-image-generation 0.88.12 → 0.88.14
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.
- package/README.md +9 -8
- package/agent-forge.json +1 -1
- package/package.json +4 -3
- package/plugin.json +1 -1
package/README.md
CHANGED
|
@@ -62,11 +62,7 @@ marks image-capable models):
|
|
|
62
62
|
"models": [
|
|
63
63
|
{
|
|
64
64
|
"id": "gpt-image-1",
|
|
65
|
-
"
|
|
66
|
-
"input": ["text"],
|
|
67
|
-
"output": ["image"],
|
|
68
|
-
"contextWindow": 8192,
|
|
69
|
-
"maxTokens": 4096
|
|
65
|
+
"output": ["image"]
|
|
70
66
|
}
|
|
71
67
|
]
|
|
72
68
|
}
|
|
@@ -74,6 +70,11 @@ marks image-capable models):
|
|
|
74
70
|
}
|
|
75
71
|
```
|
|
76
72
|
|
|
73
|
+
Image generation consumes only `baseUrl`, the provider credential, and the
|
|
74
|
+
model `id`; chat-model fields such as `contextWindow`/`maxTokens`/`input` do
|
|
75
|
+
not affect image requests and can be omitted (declaring them only changes the
|
|
76
|
+
`--list-models` display).
|
|
77
|
+
|
|
77
78
|
Save the provider key with `/login` (it is stored in `auth.json`); `models.json`
|
|
78
79
|
rejects an `apiKey` field at load. The plugin resolves the key and `baseUrl`
|
|
79
80
|
through the host's credential API: the stored key lives in `auth.json`, and
|
|
@@ -103,9 +104,9 @@ export HTTPS_PROXY=http://127.0.0.1:7897
|
|
|
103
104
|
export NO_PROXY=api.shenwenai.com # optional: keep the gateway direct
|
|
104
105
|
```
|
|
105
106
|
|
|
106
|
-
|
|
107
|
-
manually. The global dispatcher is never replaced — only
|
|
108
|
-
requests are affected.
|
|
107
|
+
OS-level proxy settings (macOS network settings, Windows registry) are not
|
|
108
|
+
read; export the port manually. The global dispatcher is never replaced — only
|
|
109
|
+
this plugin's requests are affected.
|
|
109
110
|
|
|
110
111
|
Notes:
|
|
111
112
|
|
package/agent-forge.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-agent-forge/plugin-image-generation",
|
|
3
|
-
"version": "0.88.
|
|
3
|
+
"version": "0.88.14",
|
|
4
4
|
"description": "Image generation capability plugin for Agent Forge (image_generate / image_edit tools)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,10 +48,11 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"typebox": "1.3.27",
|
|
50
50
|
"undici": "8.10.2",
|
|
51
|
-
"@ai-agent-forge/plugin-sdk": "^0.88.
|
|
51
|
+
"@ai-agent-forge/plugin-sdk": "^0.88.14"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"shx": "0.3.4",
|
|
55
|
-
"vitest": "4.1.11"
|
|
55
|
+
"vitest": "4.1.11",
|
|
56
|
+
"@ai-agent-forge/agent-forge": "^0.88.14"
|
|
56
57
|
}
|
|
57
58
|
}
|