feat: new diff mode #245
ci.yml
on: pull_request
lint
12s
typecheck
16s
Matrix: test
Annotations
30 errors
tests/unit/cost-calculation.test.ts > Cost Calculation > calculateCost > should calculate cost correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.calculateCost src/ai/cost-calculation.ts:5:23
❯ tests/unit/cost-calculation.test.ts:20:14
|
tests/unit/cost-calculation.test.ts > Cost Calculation > estimateCost > should estimate cost correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.estimateCost src/ai/cost-calculation.ts:21:23
❯ tests/unit/cost-calculation.test.ts:46:14
|
tests/unit/cost-calculation.test.ts > Cost Calculation > getAvailableModels > should return all available models:
tests/unit/cost-calculation.test.ts#L62
AssertionError: expected [ 'claude-3-5-sonnet-20240620', …(7) ] to deeply equal [ 'claude-3-5-sonnet-20240620', …(7) ]
- Expected
+ Received
Array [
"claude-3-5-sonnet-20240620",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
"claude-3-haiku-20240307",
- "gpt-4o",
+ "gpt-4o-2024-08-06",
"gpt-4o-mini",
"llama-3.1-70b-versatile",
"ollama",
]
❯ tests/unit/cost-calculation.test.ts:62:31
|
tests/unit/token-management.test.ts > Token Management > truncateToContextLimit > should truncate text to context limit for gpt-4o:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ tests/unit/token-management.test.ts:27:26
|
tests/unit/token-management.test.ts > Token Management > truncateToContextLimit > should not truncate text within context limit:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.truncateToContextLimit src/ai/token-management.ts:14:23
❯ tests/unit/token-management.test.ts:52:22
|
tests/unit/token-management.test.ts > Token Management > estimateTokenCount > should estimate tokens correctly for Claude models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ getModelConfig src/ai/model-config.ts:97:11
❯ Module.getModelFamily src/ai/model-config.ts:107:18
❯ Module.estimateTokenCount src/ai/token-management.ts:26:23
❯ tests/unit/token-management.test.ts:69:27
|
tests/unit/token-management.test.ts > Token Management > estimateTokenCount > should estimate tokens correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ getModelConfig src/ai/model-config.ts:97:11
❯ Module.getModelFamily src/ai/model-config.ts:107:18
❯ Module.estimateTokenCount src/ai/token-management.ts:26:23
❯ tests/unit/token-management.test.ts:75:27
|
tests/unit/token-management.test.ts > Token Management > getModelSpecs > should return correct specs for Claude models:
tests/unit/token-management.test.ts#L83
AssertionError: expected { contextWindow: 200000, …(5) } to deeply equal { contextWindow: 200000, …(5) }
- Expected
+ Received
Object {
"contextWindow": 200000,
"maxOutput": 8192,
"modelFamily": "claude",
"modelName": "Claude 3.5 Sonnet",
"pricing": Object {
"inputCost": 3,
"outputCost": 15,
},
"temperature": Object {
- "codegenTemperature": 0.3,
+ "codegenTemperature": 0.2,
"planningTemperature": 0.5,
},
}
❯ tests/unit/token-management.test.ts:83:21
|
tests/unit/token-management.test.ts > Token Management > getModelSpecs > should return correct specs for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ tests/unit/token-management.test.ts:97:21
|
test (lts/*, macos-latest)
Process completed with exit code 1.
|
tests/unit/cost-calculation.test.ts > Cost Calculation > calculateCost > should calculate cost correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.calculateCost src/ai/cost-calculation.ts:5:23
❯ tests/unit/cost-calculation.test.ts:20:14
|
tests/unit/cost-calculation.test.ts > Cost Calculation > estimateCost > should estimate cost correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.estimateCost src/ai/cost-calculation.ts:21:23
❯ tests/unit/cost-calculation.test.ts:46:14
|
tests/unit/cost-calculation.test.ts > Cost Calculation > getAvailableModels > should return all available models:
tests/unit/cost-calculation.test.ts#L62
AssertionError: expected [ 'claude-3-5-sonnet-20240620', …(7) ] to deeply equal [ 'claude-3-5-sonnet-20240620', …(7) ]
- Expected
+ Received
Array [
"claude-3-5-sonnet-20240620",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
"claude-3-haiku-20240307",
- "gpt-4o",
+ "gpt-4o-2024-08-06",
"gpt-4o-mini",
"llama-3.1-70b-versatile",
"ollama",
]
❯ tests/unit/cost-calculation.test.ts:62:31
|
tests/unit/token-management.test.ts > Token Management > truncateToContextLimit > should truncate text to context limit for gpt-4o:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ tests/unit/token-management.test.ts:27:26
|
tests/unit/token-management.test.ts > Token Management > truncateToContextLimit > should not truncate text within context limit:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.truncateToContextLimit src/ai/token-management.ts:14:23
❯ tests/unit/token-management.test.ts:52:22
|
tests/unit/token-management.test.ts > Token Management > estimateTokenCount > should estimate tokens correctly for Claude models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ getModelConfig src/ai/model-config.ts:97:11
❯ Module.getModelFamily src/ai/model-config.ts:107:18
❯ Module.estimateTokenCount src/ai/token-management.ts:26:23
❯ tests/unit/token-management.test.ts:69:27
|
tests/unit/token-management.test.ts > Token Management > estimateTokenCount > should estimate tokens correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ getModelConfig src/ai/model-config.ts:97:11
❯ Module.getModelFamily src/ai/model-config.ts:107:18
❯ Module.estimateTokenCount src/ai/token-management.ts:26:23
❯ tests/unit/token-management.test.ts:75:27
|
tests/unit/token-management.test.ts > Token Management > getModelSpecs > should return correct specs for Claude models:
tests/unit/token-management.test.ts#L83
AssertionError: expected { contextWindow: 200000, …(5) } to deeply equal { contextWindow: 200000, …(5) }
- Expected
+ Received
Object {
"contextWindow": 200000,
"maxOutput": 8192,
"modelFamily": "claude",
"modelName": "Claude 3.5 Sonnet",
"pricing": Object {
"inputCost": 3,
"outputCost": 15,
},
"temperature": Object {
- "codegenTemperature": 0.3,
+ "codegenTemperature": 0.2,
"planningTemperature": 0.5,
},
}
❯ tests/unit/token-management.test.ts:83:21
|
tests/unit/token-management.test.ts > Token Management > getModelSpecs > should return correct specs for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ tests/unit/token-management.test.ts:97:21
|
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
|
tests/unit/cost-calculation.test.ts > Cost Calculation > calculateCost > should calculate cost correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.calculateCost src/ai/cost-calculation.ts:5:23
❯ tests/unit/cost-calculation.test.ts:20:14
|
tests/unit/cost-calculation.test.ts > Cost Calculation > estimateCost > should estimate cost correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.estimateCost src/ai/cost-calculation.ts:21:23
❯ tests/unit/cost-calculation.test.ts:46:14
|
tests/unit/cost-calculation.test.ts > Cost Calculation > getAvailableModels > should return all available models:
tests/unit/cost-calculation.test.ts#L62
AssertionError: expected [ 'claude-3-5-sonnet-20240620', …(7) ] to deeply equal [ 'claude-3-5-sonnet-20240620', …(7) ]
- Expected
+ Received
Array [
"claude-3-5-sonnet-20240620",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
"claude-3-haiku-20240307",
- "gpt-4o",
+ "gpt-4o-2024-08-06",
"gpt-4o-mini",
"llama-3.1-70b-versatile",
"ollama",
]
❯ tests/unit/cost-calculation.test.ts:62:31
|
tests/unit/token-management.test.ts > Token Management > truncateToContextLimit > should truncate text to context limit for gpt-4o:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ tests/unit/token-management.test.ts:27:26
|
tests/unit/token-management.test.ts > Token Management > truncateToContextLimit > should not truncate text within context limit:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ Module.truncateToContextLimit src/ai/token-management.ts:14:23
❯ tests/unit/token-management.test.ts:52:22
|
tests/unit/token-management.test.ts > Token Management > estimateTokenCount > should estimate tokens correctly for Claude models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ getModelConfig src/ai/model-config.ts:97:11
❯ Module.getModelFamily src/ai/model-config.ts:107:18
❯ Module.estimateTokenCount src/ai/token-management.ts:26:23
❯ tests/unit/token-management.test.ts:69:27
|
tests/unit/token-management.test.ts > Token Management > estimateTokenCount > should estimate tokens correctly for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ getModelConfig src/ai/model-config.ts:97:11
❯ Module.getModelFamily src/ai/model-config.ts:107:18
❯ Module.estimateTokenCount src/ai/token-management.ts:26:23
❯ tests/unit/token-management.test.ts:75:27
|
tests/unit/token-management.test.ts > Token Management > getModelSpecs > should return correct specs for Claude models:
tests/unit/token-management.test.ts#L83
AssertionError: expected { contextWindow: 200000, …(5) } to deeply equal { contextWindow: 200000, …(5) }
- Expected
+ Received
Object {
"contextWindow": 200000,
"maxOutput": 8192,
"modelFamily": "claude",
"modelName": "Claude 3.5 Sonnet",
"pricing": Object {
"inputCost": 3,
"outputCost": 15,
},
"temperature": Object {
- "codegenTemperature": 0.3,
+ "codegenTemperature": 0.2,
"planningTemperature": 0.5,
},
}
❯ tests/unit/token-management.test.ts:83:21
|
tests/unit/token-management.test.ts > Token Management > getModelSpecs > should return correct specs for GPT models:
src/ai/model-config.ts#L97
Error: Unknown model: gpt-4o
❯ Module.getModelConfig src/ai/model-config.ts:97:11
❯ tests/unit/token-management.test.ts:97:21
|
test (lts/*, windows-latest)
Process completed with exit code 1.
|