mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
update comment
This commit is contained in:
parent
a7f0a387f7
commit
6be9e10175
3 changed files with 4 additions and 4 deletions
|
|
@ -121,7 +121,7 @@ class SerializationMixin(BaseModel, extra="forbid"):
|
|||
|
||||
if class_type is None:
|
||||
# TODO could try dynamic import
|
||||
raise TypeError("Trying to instantiate {class_full_name}, which has not yet been defined!")
|
||||
raise TypeError(f"Trying to instantiate {class_full_name}, which has not yet been defined!")
|
||||
|
||||
return class_type(**value)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue