Skip to content

Commit

Permalink
Merge pull request #1225 from samchon/feat/chat
Browse files Browse the repository at this point in the history
Also deploy the chat following the agent update
  • Loading branch information
samchon authored Feb 5, 2025
2 parents c18fe0e + 2052536 commit cfbd483
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/agent/src/chatgpt/ChatGptAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/src/structures/INestiaAgentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions packages/chat/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {
Expand All @@ -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",
Expand Down

0 comments on commit cfbd483

Please # to comment.