fix: bad method name for together ai (#2128)

This commit is contained in:
Daniel Salazar
2025-12-10 20:45:41 -08:00
committed by GitHub
parent 902c1f7944
commit 1a0e2d3def
@@ -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');
}