mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Remove defaultTemperature from Roo provider configuration (#9932)
Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
2efebf5da9
commit
5bde2e52de
2 changed files with 2 additions and 3 deletions
|
|
@ -452,7 +452,7 @@ describe("RooHandler", () => {
|
|||
})
|
||||
|
||||
describe("temperature and model configuration", () => {
|
||||
it("should use default temperature of 0.7", async () => {
|
||||
it("should use default temperature of 0", async () => {
|
||||
handler = new RooHandler(mockOptions)
|
||||
const stream = handler.createMessage(systemPrompt, messages)
|
||||
for await (const _chunk of stream) {
|
||||
|
|
@ -461,7 +461,7 @@ describe("RooHandler", () => {
|
|||
|
||||
expect(mockCreate).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
temperature: 0.7,
|
||||
temperature: 0,
|
||||
}),
|
||||
expect.objectContaining({
|
||||
headers: expect.objectContaining({
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ export class RooHandler extends BaseOpenAiCompatibleProvider<string> {
|
|||
apiKey: sessionToken,
|
||||
defaultProviderModelId: rooDefaultModelId,
|
||||
providerModels: {},
|
||||
defaultTemperature: 0.7,
|
||||
})
|
||||
|
||||
// Load dynamic models asynchronously - strip /v1 from baseURL for fetcher
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue