Skip to content

Incorrect Asynchronous Implementation #273

@RidaHajjAli

Description

@RidaHajjAli

In ./runtime/prompty/prompty/openai/executer.py, invoke_async () method is declared with async def, but it calls the synchronous method self.invoke(data) without an await.
This does not make the operation asynchronous.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions