mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
fix(provider): omit default model test temperature
This commit is contained in:
+1
@@ -71,6 +71,7 @@ describe('buildDefaultModelTestRequestBody', () => {
|
||||
|
||||
expect(body.messages).toEqual([{ role: 'user', content: 'Hello! This is a test message.' }])
|
||||
expect(body.stream).toBe(true)
|
||||
expect(body.temperature).toBeUndefined()
|
||||
expect(body.input).toBeUndefined()
|
||||
})
|
||||
|
||||
|
||||
@@ -257,7 +257,6 @@ export function buildDefaultModelTestRequestBody(
|
||||
},
|
||||
],
|
||||
max_tokens: 30,
|
||||
temperature: 0.7,
|
||||
stream: true,
|
||||
}, null, 2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user