Patch: improve check openai version (#15301)

This commit is contained in:
chyroc
2023-12-30 05:44:19 +08:00
committed by GitHub
parent 27ee61645d
commit 7ce338201c
2 changed files with 7 additions and 12 deletions

View File

@@ -395,7 +395,7 @@ def _set_context(context: Context) -> None:
@contextmanager
def get_executor_for_config(
config: Optional[RunnableConfig]
config: Optional[RunnableConfig],
) -> Generator[Executor, None, None]:
"""Get an executor for a config.