kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
chore: update deps
rodzic
671a2a08f3
commit
da3a336db1
|
@ -3,6 +3,11 @@ import { config } from '@fisch0920/config/eslint'
|
|||
export default [
|
||||
...config,
|
||||
{
|
||||
ignores: ['packages/openapi-to-ts/fixtures/generated']
|
||||
ignores: ['packages/openapi-to-ts/fixtures/generated/**/*']
|
||||
},
|
||||
{
|
||||
rules: {
|
||||
'unicorn/prefer-single-call': 'off'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
"@agentic/core": "workspace:*",
|
||||
"@agentic/llamaindex": "workspace:*",
|
||||
"@agentic/stdlib": "workspace:*",
|
||||
"@llamaindex/openai": "^0.4.1",
|
||||
"@llamaindex/workflow": "^1.1.4",
|
||||
"@llamaindex/openai": "catalog:",
|
||||
"@llamaindex/workflow": "catalog:",
|
||||
"llamaindex": "catalog:",
|
||||
"zod": "catalog:"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import { type AIFunctionLike, AIFunctionSet, isZodSchema } from '@agentic/core'
|
||||
import { tool, type ToolResult } from '@xsai/tool'
|
||||
import { tool } from '@xsai/tool'
|
||||
|
||||
export type Tool = Awaited<ReturnType<typeof tool>>
|
||||
|
||||
/**
|
||||
* Converts a set of Agentic stdlib AI functions to an object compatible with
|
||||
|
@ -7,7 +9,7 @@ import { tool, type ToolResult } from '@xsai/tool'
|
|||
*/
|
||||
export function createXSAITools(
|
||||
...aiFunctionLikeTools: AIFunctionLike[]
|
||||
): Promise<ToolResult[]> {
|
||||
): Promise<Tool[]> {
|
||||
const fns = new AIFunctionSet(aiFunctionLikeTools)
|
||||
|
||||
return Promise.all(
|
||||
|
|
Plik diff jest za duży
Load Diff
|
@ -10,16 +10,18 @@ catalog:
|
|||
'@apidevtools/swagger-parser': ^10.1.1
|
||||
'@dexaai/dexter': ^4.1.1
|
||||
'@e2b/code-interpreter': ^1.5.0
|
||||
'@fisch0920/config': ^1.1.0
|
||||
'@googleapis/customsearch': ^3.2.0
|
||||
'@fisch0920/config': ^1.1.2
|
||||
'@googleapis/customsearch': ^4.0.1
|
||||
'@langchain/core': ^0.3.57
|
||||
'@langchain/openai': ^0.5.11
|
||||
'@mastra/core': ^0.10.0
|
||||
'@modelcontextprotocol/sdk': ^1.12.0
|
||||
'@nangohq/node': 0.42.22 # pinned for now
|
||||
'@langchain/openai': ^0.5.12
|
||||
'@llamaindex/openai': ^0.4.3
|
||||
'@llamaindex/workflow': ^1.1.7
|
||||
'@mastra/core': ^0.10.3
|
||||
'@modelcontextprotocol/sdk': ^1.12.1
|
||||
'@nangohq/node': 0.42.22
|
||||
'@types/jsrsasign': ^10.5.15
|
||||
'@types/node': ^22.15.21
|
||||
'@xsai/tool': ^0.3.0-beta.2
|
||||
'@xsai/tool': ^0.3.0-beta.3
|
||||
ai: ^4.3.16
|
||||
bumpp: ^10.1.1
|
||||
camelcase: ^8.0.0
|
||||
|
@ -30,31 +32,31 @@ catalog:
|
|||
delay: ^6.0.0
|
||||
dotenv: ^16.5.0
|
||||
duck-duck-scrape: ^2.2.7
|
||||
eslint: ^9.27.0
|
||||
eslint: ^9.28.0
|
||||
execa: ^9.6.0
|
||||
exit-hook: ^4.0.0
|
||||
fast-xml-parser: ^5.2.3
|
||||
genkit: ^1.10.0
|
||||
genkit: ^1.11.1
|
||||
genkitx-openai: ^0.22.3
|
||||
google-auth-library: ^9.15.1
|
||||
googleapis: ^149.0.0
|
||||
googleapis: ^150.0.1
|
||||
json-schema-to-zod: ^2.6.1
|
||||
jsonrepair: ^3.12.0
|
||||
jsrsasign: ^10.9.0
|
||||
ky: ^1.8.1
|
||||
langchain: ^0.3.27
|
||||
lint-staged: ^16.0.0
|
||||
llamaindex: ^0.11.3
|
||||
lint-staged: ^16.1.0
|
||||
llamaindex: ^0.11.6
|
||||
mathjs: ^13.2.3
|
||||
npm-run-all2: ^8.0.4
|
||||
octokit: ^5.0.2
|
||||
octokit: ^5.0.3
|
||||
only-allow: ^1.2.1
|
||||
openai: ^4.103.0
|
||||
openai: ^5.1.1
|
||||
openai-fetch: ^3.4.2
|
||||
openai-zod-to-json-schema: ^1.0.3
|
||||
openapi-types: ^12.1.3
|
||||
p-map: ^7.0.3
|
||||
p-throttle: 6.2.0 # pinned for now
|
||||
p-throttle: 6.2.0
|
||||
prettier: ^3.5.3
|
||||
restore-cursor: ^5.1.0
|
||||
simple-git-hooks: ^2.13.0
|
||||
|
@ -62,13 +64,13 @@ catalog:
|
|||
syncpack: 14.0.0-alpha.10
|
||||
tsup: ^8.5.0
|
||||
tsx: ^4.19.4
|
||||
turbo: ^2.5.3
|
||||
turbo: ^2.5.4
|
||||
twitter-api-sdk: ^1.2.1
|
||||
type-fest: ^4.41.0
|
||||
typescript: ^5.8.3
|
||||
vitest: ^3.1.4
|
||||
vitest: ^3.2.2
|
||||
wikibase-sdk: ^10.2.3
|
||||
xsai: ^0.3.0-beta.2
|
||||
zod: ^3.25.30
|
||||
xsai: ^0.3.0-beta.3
|
||||
zod: ^3.25.55
|
||||
zod-validation-error: ^3.4.1
|
||||
zoominfo-api-auth-client: ^1.0.1
|
||||
|
|
Ładowanie…
Reference in New Issue