Skip to content

Commit

Permalink
Update in brain module
Browse files Browse the repository at this point in the history
  • Loading branch information
synw committed Apr 10, 2024
1 parent 8c2af1b commit e726f83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/brain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agent-smith/brain",
"version": "0.0.8",
"version": "0.0.9",
"description": "An api to create human friendly agents: the AI brain module",
"repository": "https://github.com/synw/agent-smith",
"scripts": {
Expand All @@ -12,22 +12,22 @@
"dependencies": {
"@intrinsicai/gbnfgen": "^0.11.0",
"@locallm/api": "^0.0.29",
"nanostores": "^0.10.0",
"modprompt": "^0.5.0"
"nanostores": "^0.10.2",
"modprompt": "^0.6.1"
},
"devDependencies": {
"@locallm/types": "^0.0.14",
"@locallm/types": "^0.0.15",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.11.20",
"@types/node": "^20.12.2",
"markdown-it-replace-link": "^1.2.1",
"rollup": "^4.12.0",
"rollup": "^4.13.2",
"tslib": "^2.6.2",
"typedoc": "^0.25.8",
"typedoc": "^0.25.12",
"typedoc-plugin-markdown": "^3.17.1",
"typedoc-plugin-rename-defaults": "^0.7.0",
"typescript": "^5.3.3"
"typescript": "^5.4.3"
},
"files": [
"dist"
Expand Down
1 change: 1 addition & 0 deletions packages/brain/src/lm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { map, atom } from 'nanostores';
import { PromptTemplate } from "modprompt";
import { compile, serializeGrammar } from "@intrinsicai/gbnfgen";
import { Lm } from "@locallm/api";
//import { Lm } from "../../../../locallm/packages/api/src/api";
import { InferenceParams, InferenceResult } from "@locallm/types";
import { defaultLocalBackends } from "./const.js";
import { LmExpert, LmExpertSpec, LmThinkingOptionsSpec } from "./interfaces.js";
Expand Down

0 comments on commit e726f83

Please sign in to comment.