diff --git a/matrix_gpt/config.py b/matrix_gpt/config.py index ffe6336..3dab65b 100644 --- a/matrix_gpt/config.py +++ b/matrix_gpt/config.py @@ -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=[]),