# Litellm config.yaml

**URL:** <https://community.crewai.com/t/litellm-config-yaml/501>\
**Category:** General\
**Created:** [September 22, 2024, 5:45am UTC](https://community.crewai.com/t/litellm-config-yaml/501 "2024-09-22T05:45:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![moto](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@moto](https://community.crewai.com/u/moto)\
**Post date:** [September 22, 2024, 5:45am UTC](https://community.crewai.com/t/litellm-config-yaml/501/1 "2024-09-22T05:45:06Z")

</div>

Where is the config.yaml that litellm uses in crewai?

---

<div class="post-metadata">

**Author:** ![matt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/matt/32/3_2.png) [@matt](https://community.crewai.com/u/matt)\
**Post date:** [September 22, 2024, 7:31am UTC](https://community.crewai.com/t/litellm-config-yaml/501/2 "2024-09-22T07:31:27Z")

</div>

There is no YAML as LiteLLM is done programmatically with the code

> <https://github.com/crewAIInc/crewAI/blob/main/src/crewai/llm.py>

---

<div class="post-metadata">

**Author:** ![moto](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@moto](https://community.crewai.com/u/moto)\
**Post date:** [September 22, 2024, 4:39pm UTC](https://community.crewai.com/t/litellm-config-yaml/501/3 "2024-09-22T16:39:24Z")

</div>

@matt so there is no way as in the .yaml file for litellm proxy to set parameters for a llm? I guess its back to the same old question. How do you set up a llm with parameters in crewai now and I know you said you were looking into it.

---

<div class="post-metadata">

**Author:** ![matt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/matt/32/3_2.png) [@matt](https://community.crewai.com/u/matt)\
**Post date:** [September 23, 2024, 7:32am UTC](https://community.crewai.com/t/litellm-config-yaml/501/4 "2024-09-23T07:32:50Z")

</div>

The LLM class is being refactored to allow for this - [crewAI/src/crewai/llm.py at main · crewAIInc/crewAI · GitHub](https://github.com/crewAIInc/crewAI/blob/main/src/crewai/llm.py)

---

<div class="post-metadata">

**Author:** ![moto](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@moto](https://community.crewai.com/u/moto)\
**Post date:** [September 23, 2024, 5:53pm UTC](https://community.crewai.com/t/litellm-config-yaml/501/5 "2024-09-23T17:53:26Z")

</div>

@matt how will we initialize a model with parameters with this change?  
nvm found it in new doc and upgrade to 0.63.1
