mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-02 14:45:17 +02:00
Add files via upload
This commit is contained in:
parent
c17cfbee44
commit
be76b007b1
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def register_provider(keys):
|
|||
"""register provider to registry"""
|
||||
|
||||
def decorator(cls):
|
||||
if isinstance(keys,list):
|
||||
if isinstance(keys, list):
|
||||
for key in keys:
|
||||
LLM_REGISTRY.register(key, cls)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue