@mariozechner/pi-ai 0.5.11 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -26,7 +26,7 @@ npm install @mariozechner/pi-ai
26
26
  ```typescript
27
27
  import { createLLM } from '@mariozechner/pi-ai';
28
28
 
29
- const llm = createLLM('openai', 'gpt-4o-mini');
29
+ const llm = createLLM('openai', 'gpt-5-mini');
30
30
 
31
31
  const response = await llm.complete({
32
32
  messages: [{ role: 'user', content: 'Hello!' }]
@@ -139,7 +139,7 @@ try {
139
139
 
140
140
  ### OpenAI Reasoning (o1, o3)
141
141
  ```typescript
142
- const llm = createLLM('openai', 'o1-mini');
142
+ const llm = createLLM('openai', 'gpt-5-mini');
143
143
 
144
144
  await llm.complete(context, {
145
145
  reasoningEffort: 'medium' // 'minimal' | 'low' | 'medium' | 'high'
@@ -279,10 +279,10 @@ OPENROUTER_API_KEY=sk-or-...
279
279
  When set, you can omit the API key parameter:
280
280
  ```typescript
281
281
  // Uses OPENAI_API_KEY from environment
282
- const llm = createLLM('openai', 'gpt-4o-mini');
282
+ const llm = createLLM('openai', 'gpt-5-mini');
283
283
 
284
284
  // Or pass explicitly
285
- const llm = createLLM('openai', 'gpt-4o-mini', 'sk-...');
285
+ const llm = createLLM('openai', 'gpt-5-mini', 'sk-...');
286
286
  ```
287
287
 
288
288
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mariozechner/pi-ai",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "Unified LLM API with automatic model discovery and provider configuration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",