This commit is contained in:
Paul Gauthier 2024-10-08 10:38:36 -07:00
parent 1d2a3f573c
commit 0cb05dd001
2 changed files with 6 additions and 6 deletions

View file

@ -33,12 +33,8 @@ ensure that your contributions can be integrated smoothly.
## Licensing ## Licensing
By contributing to this project, you agree that your contributions Before contributing a PR, please review and complete our
will be licensed under the Apache License 2.0. Additionally, you [Individual Contributor License Agreement](/docs/contributor-agreement.html).
understand and agree that contributions may be subject to a different
license, should the project maintainers decide to change the licensing
terms.
## Setting up a Development Environment ## Setting up a Development Environment

View file

@ -1128,6 +1128,10 @@ class Coder:
try: try:
yield from self.send(messages, functions=self.functions) yield from self.send(messages, functions=self.functions)
break break
except litellm.exceptions.AuthenticationError as err:
dump(dir(err))
dump(err.message)
break
except retry_exceptions() as err: except retry_exceptions() as err:
self.io.tool_warning(str(err)) self.io.tool_warning(str(err))
retry_delay *= 2 retry_delay *= 2