mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 08:30:39 +00:00
fix: bad method name for together ai (#2128)
This commit is contained in:
@@ -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