mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-14 09:50:49 +00:00
fix: bad method name for together ai (#2128)
This commit is contained in:
1 parent
902c1f7944
commit
1a0e2d3def
1 file changed
+1
-1
@@ -169,7 +169,7 @@ export class TogetherImageGenerationService extends BaseService {
|
||||
throw APIError.create('insufficient_funds');
|
||||
}
|
||||
|
||||
const response = await this.client.images.create(request);
|
||||
const response = await this.client.images.generate(request);
|
||||
if ( ! response?.data?.length ) {
|
||||
throw new Error('Together AI response did not include image data');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user