3.0.0-alpha.1 #11
Annotations
5 errors
|
publish
Process completed with exit code 1.
|
|
tests/etc/token-calculator.test.ts > calculateModelResponseTokens > returns less than maxOutput when input is large:
tests/etc/token-calculator.test.ts#L54
TypeError: Cannot read properties of undefined (reading 'length')
❯ src/lang/utils/token-calculator.ts:38:24
❯ Module.calculateModelResponseTokens src/lang/utils/token-calculator.ts:37:34
❯ tests/etc/token-calculator.test.ts:54:17
|
|
tests/etc/token-calculator.test.ts > calculateModelResponseTokens > returns maxOutput when there's enough space in dynamic context:
tests/etc/token-calculator.test.ts#L48
TypeError: Cannot read properties of undefined (reading 'length')
❯ src/lang/utils/token-calculator.ts:38:24
❯ Module.calculateModelResponseTokens src/lang/utils/token-calculator.ts:37:34
❯ tests/etc/token-calculator.test.ts:48:17
|
|
tests/etc/token-calculator.test.ts > calculateModelResponseTokens > returns default for non-token models:
tests/etc/token-calculator.test.ts#L32
AssertionError: expected 4000 to be 2000 // Object.is equality
- Expected
+ Received
- 2000
+ 4000
❯ tests/etc/token-calculator.test.ts:32:17
|
|
tests/etc/token-calculator.test.ts > calculateModelResponseTokens > uses user maxTokens when within limits:
tests/etc/token-calculator.test.ts#L26
TypeError: Cannot read properties of undefined (reading 'length')
❯ src/lang/utils/token-calculator.ts:38:24
❯ Module.calculateModelResponseTokens src/lang/utils/token-calculator.ts:37:34
❯ tests/etc/token-calculator.test.ts:26:17
|