Edwin Jose George
Edwin Jose George
@krrishdholakia @Martinzz Have a look at https://github.com/BerriAI/litellm/pull/4090. The idea is to break from the loop if there is no further improvement in the length of the new trimmed message. This...
@ishaan-jaff @krrishdholakia
It seems the project is not currently black and mypy compliant. It seems lint check at github workflow is disabled. To fix black, it would require just running `black .`...
Hmm... I still get black warnings when I run from the main branch ``` > black .\litellm\ .... All done! ✨ 🍰 ✨ 42 files reformatted, 218 files left unchanged....
Hah! I think just running `black` from bash updates the codebase "within the container" and the result is not propagated back?? @krrishdholakia
I have updated the command running on circleic. Earlier, the command `python -m black .` would reformat the code and return exit code `0`. with the check flag, It will...
Do we need to run black and mypy at github workflow as well as circleci? Do let me know if this PR is still relevant or is expecting somemore changes....
hi @krrishdholakia In the circle ci, black always reformats the code. The correct command to run in circle ci is `python -m black . --check` instead of `python -m black...