Skip to content

Commit 559f1b1

Browse files
chore: update deps
1 parent 6d7b662 commit 559f1b1

File tree

5 files changed

+120
-152
lines changed

5 files changed

+120
-152
lines changed

docs/sdks/openai.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,14 @@ Agentic also supports the [OpenAI Responses API](https://platform.openai.com/doc
8989
```ts
9090
import 'dotenv/config'
9191

92-
import type { ResponseInput } from 'openai/resources/responses/responses.mjs'
9392
import { WeatherClient } from '@agentic/stdlib'
9493
import OpenAI from 'openai'
9594

9695
async function main() {
9796
const weather = new WeatherClient()
9897
const openai = new OpenAI()
9998

100-
const messages: ResponseInput = [
99+
const messages: OpenAI.Responses.ResponseInput = [
101100
{
102101
role: 'system',
103102
content: 'You are a helpful assistant. Be as concise as possible.'

examples/openai/bin/weather-responses.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import 'dotenv/config'
22

3-
import type { ResponseInput } from 'openai/resources/responses/responses.mjs'
43
import { assert } from '@agentic/core'
54
import { WeatherClient } from '@agentic/stdlib'
65
import OpenAI from 'openai'
@@ -9,7 +8,7 @@ async function main() {
98
const weather = new WeatherClient()
109
const openai = new OpenAI()
1110

12-
const messages: ResponseInput = [
11+
const messages: OpenAI.Responses.ResponseInput = [
1312
{
1413
role: 'system',
1514
content: 'You are a helpful assistant. Be as concise as possible.'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "git",
88
"url": "git+https://github.com/transitive-bullshit/agentic.git"
99
},
10-
"packageManager": "pnpm@10.6.5",
10+
"packageManager": "pnpm@10.7.0",
1111
"engines": {
1212
"node": ">=18"
1313
},

0 commit comments

Comments
 (0)