Common Model Settings
When integrating multiple providers, you usually want a single configuration pattern and low switching cost. Agently v4 uses OpenAICompatible for all providers with base_url + api_key + model.
General template
python
from agently import Agently
Agently.set_settings("OpenAICompatible", {
"base_url": "https://api.example.com/v1",
"api_key": "YOUR_API_KEY",
"model": "your-model-name"
})