Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client-sdks/typescript/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The OpenRouter TypeScript SDK is a type-safe toolkit for building AI application
Integrating AI models into applications involves handling different provider APIs, managing model-specific requirements, and avoiding common implementation mistakes. The OpenRouter SDK standardizes these integrations and protects you from footguns.

```typescript lines
import OpenRouter from '@openrouter/sdk';
import { OpenRouter } from '@openrouter/sdk';

const client = new OpenRouter({
apiKey: process.env.OPENROUTER_API_KEY
Expand Down Expand Up @@ -125,4 +125,4 @@ const response = await client.chat.send({
});

console.log(response.choices[0].message.content);
```
```