diff options
Diffstat (limited to '')
-rw-r--r-- | tool/readme_table.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/readme_table.py b/tool/readme_table.py index dc7c85f3..3e2a6e64 100644 --- a/tool/readme_table.py +++ b/tool/readme_table.py @@ -26,11 +26,11 @@ def print_imports(): def print_async(): print("##### Async support:") print("```py") - print("from g4f.Provider import (") + print("_providers = [") for _provider in get_providers(): if issubclass(_provider, AsyncProvider): - print(f" {_provider.__name__},") - print(")") + print(f" g4f.Provider.{_provider.__name__},") + print("]") print("```") print() print() |