Simon Willison 2025-01-31 13:18:41 -08:00
parent f8dcc67455
commit deb8bc3b4f
2 changed files with 1 additions and 3 deletions

View file

@ -1,8 +1,6 @@
class ModelError(Exception):
"Models can raise this error, which will be displayed to the user"
pass
class NeedsKeyException(ModelError):
"Model needs an API key which has not been provided"
pass

View file

@ -58,7 +58,7 @@ setup(
"pytest-asyncio",
"cogapp",
"mypy>=1.10.0",
"black==24.10.0",
"black>=25.1.0",
"ruff",
"types-click",
"types-PyYAML",