litellm/tests/test_litellm/llms
Ishaan Jaff c3e673b627
[Feat] Add github co-pilot as a new LLM API provider (#12325)
* Litellm dev 03 05 2025 contributor prs (#9079)

* feat: add support for copilot provider

* test: add tests for github copilot

* chore: clean up github copilot authenticator

* test: add test for github copilot authenticator

* test: add test for github copilot for sonnet 3.7 thought model

* Fix #7629 - Add tzdata package to Dockerfile (#8915)

* Add tzdata package to Dockerfile

* Move tzdata to python requirement.txt

* feat: add support for copilot provider (#8577)

* feat: add support for copilot provider

* test: add tests for github copilot

* chore: clean up github copilot authenticator

* test: add test for github copilot authenticator

* test: add test for github copilot for sonnet 3.7 thought model

---------

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>

* feat: add model information for copilot models

* fix: fix linting errors

* test: remove integration test for github_copilot + fix misisng mock

* fix: use print to make sure the logger message shown

* test: remove debug print

* fix lint (#11112)

* Add init files to make test directories Python packages and update import paths in test_token_counter.py (#11119)

* Update litellm/model_prices_and_context_window_backup.json

Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>

---------

Co-authored-by: Son H. Nguyen <nhs.000.dev@gmail.com>
Co-authored-by: subnet.dev <50828879+subnet-dev@users.noreply.github.com>
Co-authored-by: Son H. Nguyen <33925625+nhs000@users.noreply.github.com>
Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>

* refactor github copilot

* test_github_copilot_transformation.py

* test_github_copilot_authenticator.py

* add GitHub Copilot

* fix order

* doc fix

---------

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Son H. Nguyen <nhs.000.dev@gmail.com>
Co-authored-by: subnet.dev <50828879+subnet-dev@users.noreply.github.com>
Co-authored-by: Son H. Nguyen <33925625+nhs000@users.noreply.github.com>
Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
2025-07-04 13:12:16 -07:00
..
anthropic Non-anthropic (gemini/openai/etc.) models token usage returned when calling /v1/messages (#12184) 2025-07-01 17:41:48 -07:00
azure fix mapped tests (#12320) 2025-07-04 10:04:43 -07:00
azure_ai/chat Litellm dev 06 18 2025 p1 (#11872) 2025-06-18 21:24:36 -07:00
bedrock fix aws bedrock claude tool call index (#11842) 2025-06-20 23:21:08 -07:00
chat Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
cohere/chat Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
custom_httpx Fix: Fix custom ca bundle support in aiohttp transport (#12281) 2025-07-04 12:48:20 -07:00
databricks Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
datarobot Add support for DataRobot as a provider in LiteLLM (#10385) 2025-06-02 08:37:21 -07:00
deepgram [Feat] Add Eleven Labs - Speech To Text Support on LiteLLM (#12119) 2025-06-27 17:50:49 -07:00
featherless_ai/chat test: fixes 2025-05-31 12:42:56 -07:00
fireworks_ai/chat Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
gemini Fix - handle empty config.yaml + Fix gemini /models - replace models/ as expected, instead of using 'strip' (#12189) 2025-06-30 21:56:03 -07:00
github_copilot [Feat] Add github co-pilot as a new LLM API provider (#12325) 2025-07-04 13:12:16 -07:00
hosted_vllm/chat Add 'audio_url' message type support for VLLM (#12270) 2025-07-02 20:37:45 -07:00
huggingface refactor: cleanup huggingface rerank transformation 2025-06-06 10:30:44 -07:00
litellm_proxy/chat LiteLLM SDK <-> Proxy improvement (don't transform message client-side) + Bedrock - handle qs:.. in base64 file data + Tag Management - support adding public model names (#11908) 2025-06-19 22:34:18 -07:00
llamafile/chat test llamafile 2025-07-03 22:35:22 -07:00
lm_studio Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
meta_llama [Bug Fix] Fix Error code: 307 for LlamaAPI Streaming Chat (#11946) 2025-06-30 16:52:42 -07:00
mistral feat: Turn Mistral to use llm_http_handler (#12245) 2025-07-02 14:01:56 -07:00
nebius test: fixes 2025-05-31 12:42:56 -07:00
novita/chat Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
nscale/chat Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
ollama Fix default parameters for ollama-chat (#12201) 2025-07-01 17:59:04 -07:00
openai fix mapped tests (#12320) 2025-07-04 10:04:43 -07:00
openrouter/chat Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
perplexity feat: implement Perplexity citation tokens and search queries cost calculation (#11938) 2025-06-23 14:15:25 -07:00
sagemaker Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
vertex_ai Fix gemini tool call sequence (#11999) 2025-07-04 07:29:39 -07:00
watsonx Fixing watsonx error: 'model_id' or 'model' cannot be specified in the request body for models in a deployment space (#11854) 2025-06-23 10:14:10 -07:00
test_volcengine.py Anthropic /v1/messages - Custom LLM Server support (#12016) 2025-06-24 22:00:44 -07:00