diff --git a/packages/agent/src/chatgpt/ChatGptAgent.ts b/packages/agent/src/chatgpt/ChatGptAgent.ts index 4d9275c98..f4bc714c3 100644 --- a/packages/agent/src/chatgpt/ChatGptAgent.ts +++ b/packages/agent/src/chatgpt/ChatGptAgent.ts @@ -39,8 +39,8 @@ export namespace ChatGptAgent { ); for (const e of executes) await ChatGptCancelFunctionAgent.cancelFunction(ctx, { - name: e.function.name, reason: "completed", + name: e.function.name, }); histories.push( ...(await ChatGptDescribeFunctionAgent.execute(ctx, executes)), diff --git a/packages/agent/src/structures/INestiaAgentConfig.ts b/packages/agent/src/structures/INestiaAgentConfig.ts index 3fbebe106..3ab3032d6 100644 --- a/packages/agent/src/structures/INestiaAgentConfig.ts +++ b/packages/agent/src/structures/INestiaAgentConfig.ts @@ -69,7 +69,7 @@ export interface INestiaAgentConfig { * capacity and select proper functions to call by operating the multiple * LLM function selecting agents parallelly. * - * @default 0 + * @default 100 */ capacity?: number; diff --git a/packages/agent/src/structures/internal/__IChatSelectFunctionsApplication.ts b/packages/agent/src/structures/internal/__IChatSelectFunctionsApplication.ts index 679aca74e..a8240b684 100644 --- a/packages/agent/src/structures/internal/__IChatSelectFunctionsApplication.ts +++ b/packages/agent/src/structures/internal/__IChatSelectFunctionsApplication.ts @@ -13,7 +13,7 @@ export interface __IChatSelectFunctionsApplication { * requested to call many different functions, you A.I. agent have to assign * them all into the `functions` property. * - * Also, if you A.I. agent can't speciify a specific function to call due to lack + * Also, if you A.I. agent can't specify a specific function to call due to lack * of specificity or homogeneity of candidate functions, just assign all of them * by in the` functions` property` too. Instead, when you A.I. agent can specify * a specific function to call, the others would be eliminated. diff --git a/packages/chat/package.json b/packages/chat/package.json index 42627371b..7decaf3d9 100644 --- a/packages/chat/package.json +++ b/packages/chat/package.json @@ -1,6 +1,6 @@ { "name": "@nestia/chat", - "version": "0.3.10", + "version": "0.3.11", "type": "module", "main": "./lib/index.mjs", "typings": "./lib/index.d.ts", @@ -46,7 +46,7 @@ "rehype-raw": "^7.0.0", "rehype-stringify": "^10.0.1", "remark-mermaid-plugin": "^1.0.2", - "typia": "^7.6.0", + "typia": "^7.6.2", "uuid": "^11.0.5" }, "devDependencies": { @@ -71,7 +71,7 @@ "eslint-plugin-react-refresh": "^0.4.13", "globals": "^15.11.0", "js-yaml": "^4.1.0", - "openai": "^4.77.3", + "openai": "^4.82.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-json-editor-ajrm": "^2.5.14",