Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Nov 22, 2023
1 parent b89ef7f commit 9d13e54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class OpenAIConnector extends SubActionConnector<Config, Secrets> {
* the response from the streamApi method and returns the response string alone.
* @param body - the OpenAI Invoke request body
*/
public async invokeStream(body: InvokeAIActionParams): Promise<IncomingMessage> {
public async invokeStream(body: InvokeAIActionParams): Promise<PassThrough> {
const res = (await this.streamApi({
body: JSON.stringify(body),
stream: true,
Expand Down

0 comments on commit 9d13e54

Please sign in to comment.