fix config validation
This commit is contained in:
parent
2d1bfd31e3
commit
f311cb31da
|
@ -25,7 +25,7 @@ config_scheme = bison.Scheme(
|
|||
bison.Option('api_type', field_type=str, choices=['openai', 'anth'], required=True),
|
||||
bison.Option('model', field_type=str, required=True),
|
||||
bison.Option('max_tokens', field_type=int, default=0),
|
||||
bison.Option('temperature', field_type=float, default=0.5),
|
||||
bison.Option('temperature', field_type=[int, float], default=0.5),
|
||||
bison.ListOption('allowed_to_chat', member_type=str, default=[]),
|
||||
bison.ListOption('allowed_to_thread', member_type=str, default=[]),
|
||||
bison.ListOption('allowed_to_invite', member_type=str, default=[]),
|
||||
|
|
Loading…
Reference in New Issue