Skip to main content

Provider Comparison


Configuration

Environment:
Config:
Models: gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo

Switching Providers

Change one line to switch providers:
Agent code remains the same.

LLMConfig Parameters

Next Steps

Streaming

Real-time responses

Examples

Complete examples