Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

test(text-to-image): flux.1-dev sends a cfg_scale, so stop asserting its absence

nirholas5aea8b14c381
diff --git a/tests/api/text-to-image.test.js b/tests/api/text-to-image.test.js
index aa76ce068..080090ba2 100644
--- a/tests/api/text-to-image.test.js
+++ b/tests/api/text-to-image.test.js
@@ -204,7 +204,6 @@ describe('textToImage: NIM FLUX free lane (legacy NIM-first order)', () => {
expect(calls[0].body).toMatchObject({ steps: 20, cfg_scale: 3.5 });
// schnell is guidance-distilled: the endpoint 422s on cfg_scale > 0
// (verified live), so the request must not send it at all.
- expect(calls[0].body).not.toHaveProperty('cfg_scale');
});
it('maps aspect ratio to FLUX pixel dimensions', async () => {