pip install git+https://github.com/openai/swarm.git
gpt-4o
, gpt-4o-mini
) in its internal logic. To route these requests through TrueFoundry Gateway to your specific model providers, you need to set up a load balancing configuration on TrueFoundry. This maps standard model names to your TrueFoundry model format (e.g., openai-main/gpt-4o
).For detailed information about load balancing configurations, see our Load Balancing Documentation.your-truefoundry-api-key
with your actual TrueFoundry API keyyour-truefoundry-base-url
with your TrueFoundry Gateway URL