|
|
@@ -168,9 +168,9 @@ describe("DeepSeekHandler", () => {
|
|
|
const model = handlerWithInvalidModel.getModel()
|
|
|
expect(model.id).toBe("invalid-model") // Returns provided ID
|
|
|
expect(model.info).toBeDefined()
|
|
|
- // Should not be the same object reference anymore due to the spread and override
|
|
|
- expect(model.info).not.toBe(handler.getModel().info)
|
|
|
- // But should have the same base properties
|
|
|
+ // With the current implementation, it's the same object reference when using default model info
|
|
|
+ expect(model.info).toBe(handler.getModel().info)
|
|
|
+ // Should have the same base properties
|
|
|
expect(model.info.contextWindow).toBe(handler.getModel().info.contextWindow)
|
|
|
// And should have supportsPromptCache set to true
|
|
|
expect(model.info.supportsPromptCache).toBe(true)
|