Open
Description
@sts07142 the 2138bbcdc3071e9e2413a125d107332723a3890a change breaks the build:
$ npm install && npm run build
up to date, audited 419 packages in 632ms
133 packages are looking for funding
run `npm fund` for details
9 vulnerabilities (1 low, 5 moderate, 3 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> @context-labs/autodoc@0.0.9 build
> tsc
src/cli/commands/index/processRepository.ts:124:41 - error TS2345: Argument of type 'LLMModels' is not assignable to parameter of type 'TiktokenModel'.
124 const encoding = encoding_for_model(model.name);
~~~~~~~~~~
src/cli/commands/index/selectModel.ts:78:41 - error TS2345: Argument of type 'LLMModels' is not assignable to parameter of type 'TiktokenModel'.
78 const encoding = encoding_for_model(model);
~~~~~
Found 2 errors in 2 files.
Errors Files
1 src/cli/commands/index/processRepository.ts:124
1 src/cli/commands/index/selectModel.ts:78
Metadata
Metadata
Assignees
Labels
No labels