open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Update llm.py to use litellm.support_function_calling()

Open Notnaton opened this issue 1 year ago • 0 comments

Using litellm.supports_function_calling to check if model supports function calling if function calling is not specified.

Describe the changes you have made:

Reference any relevant issues (e.g. "Fixes #000"):

Pre-Submission Checklist (optional but appreciated):

  • [ ] I have included relevant documentation updates (stored in /docs)
  • [ ] I have read docs/CONTRIBUTING.md
  • [ ] I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • [ ] Tested on Windows
  • [ ] Tested on MacOS
  • [ ] Tested on Linux

Notnaton avatar Apr 19 '24 20:04 Notnaton