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
if you get a next issue, it is openai >=4.87.4 version issue
/Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.2/node_modules/typia/src/internal/_assertGuard.ts:10
else throw new TypeGuardError(props);
^
TypeGuardError: Error on json.assertParse(): invalid type on $input.usage, expect to be (CompletionUsage | undefined)
at Object._assertGuard (/Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.2/node_modules/typia/src/internal/_assertGuard.ts:10:16)
at _ao0 (/Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/lib/chatgpt/ChatGptCompletionMessageUtil.js:96:152)
at /Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/lib/chatgpt/ChatGptCompletionMessageUtil.js:409:39
at __assert (/Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/lib/chatgpt/ChatGptCompletionMessageUtil.js:414:35)
at /Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/src/chatgpt/ChatGptCompletionMessageUtil.ts:19:5
at Object.ChatGptCompletionMessageUtil.transformCompletionChunk (/Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/src/chatgpt/ChatGptCompletionMessageUtil.ts:19:5)
at /Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/src/Agentica.ts:258:42
at /Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/src/internal/StreamUtil.ts:57:30
at Generator.next (<anonymous>)
at fulfilled (/Users/sunrabbit/Desktop/personal/arixv-chat/node_modules/.pnpm/@agentica+core@0.12.9_@samchon+openapi@3.1.0_openai@4.87.3_typescript@5.8.2/node_modules/@agentica/core/lib/internal/StreamUtil.js:5:58) {
method: 'json.assertParse',
path: '$input.usage',
expected: '(CompletionUsage | undefined)',
value: null
}
The text was updated successfully, but these errors were encountered:
openai/openai-node#1402
if you get a next issue, it is openai
>=4.87.4
version issueThe text was updated successfully, but these errors were encountered: