Migrating from @openrouter/sdk to @openrouter/agent Agent functionality ( , , stop conditions, format converters, streaming helpers) has moved from to the standalone package. The package includes its own client class, so you do not need for agent use cases. --- When This Applies Migrate if your code imports any of these from : - or uses - factory function - Stop conditions: , , , , - Format converters: , , , - Types: , , , , , --- Quick Migration Step 1: Install If you only use agent features, you can remove : If you also use non-agent SDK features (models list, chat completions, credits, OAu…