Remove defaultTemperature from Roo provider configuration (#9932)

Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
Matt Rubens 2025-12-08 18:31:49 -08:00 committed by GitHub
parent 2efebf5da9
commit 5bde2e52de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -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({

View file

@ -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