Skip to content

Commit

Permalink
ts fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival418 committed Jun 22, 2024
1 parent 24b162c commit 4d075f0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
16 changes: 15 additions & 1 deletion packages/server/grimoire/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@
"name": "server/grimoire",
"version": "0.0.1",
"dependencies": {
"tslib": "^2.3.0"
"tslib": "^2.3.0",
"@magickml/behave-graph": "^0.14.14",
"ioredis": "^5.3.2",
"typed-emitter": "^2.1.0",
"server/plugin": "0.0.1",
"keyv": "^4.5.4",
"@keyv/redis": "^2.8.0",
"communication": "0.0.1",
"@feathersjs/feathers": "5.0.25",
"pino": "8.14.1",
"uuid": "^9.0.0",
"server/logger": "0.0.1",
"lodash": "4.17.21",
"@feathersjs/koa": "5.0.25",
"@magickml/server-db": "0.0.1"
},
"type": "commonjs",
"main": "./src/index.js",
Expand Down
1 change: 0 additions & 1 deletion packages/shared/servicesShared/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
} from './coreLLMService/types/liteLLMTypes'
import { Model } from './coreLLMService/types/models'
import pino from 'pino'
import Redis from 'ioredis'

export interface IBudgetManagerService {
// Creates a budget for a user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class CoreLLMService implements ICoreLLMService {

console.log('BODY', _body)

const { textStream, usage } = await streamText(_body)
const { textStream } = await streamText(_body)

yield { choices: [{ delta: { content: '<START>' } }] }

Expand Down
4 changes: 3 additions & 1 deletion plugins/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "plugins/shared",
"version": "0.0.1",
"dependencies": {
"tslib": "^2.3.0"
"tslib": "^2.3.0",
"typed-emitter": "^2.1.0",
"@magickml/behave-graph": "^0.14.14"
},
"type": "commonjs",
"main": "./src/index.js",
Expand Down

0 comments on commit 4d075f0

Please sign in to comment.