You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit abc0da1
Browse filesBrowse the repository at this point in the historyBrowse files
docs: simplify examples by using default import replicate pattern
- Remove explicit `replicate = Replicate()` from most examples
- Use `import replicate` pattern which automatically uses REPLICATE_API_TOKEN
- Keep one comprehensive example showing custom client configuration with environment variables
- Maintain explicit client instantiation only where showing advanced configuration
- Update Quick Start, Type Hints, and Migration Guide sections accordingly
This makes the examples cleaner and follows the most common usage pattern
where users rely on the default environment variable configuration.
0 commit comments