@devvibex/aiflow 1.17.1 → 1.17.2
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 +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,6 +145,10 @@ away from, and keeps the result for a week. The calls resolve with exactly the
|
|
|
145
145
|
same value as before; on an older gateway they fall back to one synchronous
|
|
146
146
|
request.
|
|
147
147
|
|
|
148
|
+
The SDK draws no UI for them (1.17.0 showed a corner panel; 1.17.1 removed it).
|
|
149
|
+
Show a job's state where its result goes — a loading state, then the result or
|
|
150
|
+
an inline error — rather than in a popup or toast.
|
|
151
|
+
|
|
148
152
|
Every generation call takes these extra options:
|
|
149
153
|
|
|
150
154
|
| Option | |
|
|
@@ -213,7 +217,7 @@ useEffect(() => {
|
|
|
213
217
|
if (job.status === 'processing') setLoading(true);
|
|
214
218
|
job.done
|
|
215
219
|
.then((res) => setImages(res.images))
|
|
216
|
-
.catch((err) =>
|
|
220
|
+
.catch((err) => setError(err.message)) // shown next to the result
|
|
217
221
|
.finally(() => setLoading(false));
|
|
218
222
|
}, []);
|
|
219
223
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvibex/aiflow",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.2",
|
|
4
4
|
"description": "First-party LLM gateway SDK for apps generated on the VibeX platform — chat, streaming, image, video (including stateful multi-turn video extension with Gemini Omni), music (Lyria), sound effects (ElevenLabs), embeddings and real-time speech translation (Gemini Live) without shipping any third-party API key.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|