@jecruz/merc-ai 0.1.3 → 0.1.4
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 +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -437,7 +437,7 @@ Do not use `stream()` or `complete()` for image generation. Request options, err
|
|
|
437
437
|
### Basic Image Generation
|
|
438
438
|
|
|
439
439
|
```typescript
|
|
440
|
-
import { getImageModel, generateImages } from '@
|
|
440
|
+
import { getImageModel, generateImages } from '@jecruz/merc-ai';
|
|
441
441
|
|
|
442
442
|
const model = getImageModel('openrouter', 'google/gemini-2.5-flash-image');
|
|
443
443
|
|
|
@@ -485,7 +485,7 @@ console.log(model.output); // ['image'] or ['image', 'text']
|
|
|
485
485
|
`images()` returns an `AssistantImagesEventStream` with image-specific events:
|
|
486
486
|
|
|
487
487
|
```typescript
|
|
488
|
-
import { getImageModel, images } from '@
|
|
488
|
+
import { getImageModel, images } from '@jecruz/merc-ai';
|
|
489
489
|
|
|
490
490
|
const model = getImageModel('openrouter', 'google/gemini-2.5-flash-image');
|
|
491
491
|
const s = images(model, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jecruz/merc-ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -108,6 +108,6 @@
|
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@types/node": "^24.3.0",
|
|
110
110
|
"canvas": "^3.2.0",
|
|
111
|
-
"vitest": "^
|
|
111
|
+
"vitest": "^4.1.11"
|
|
112
112
|
}
|
|
113
113
|
}
|