Skip to content

Commit bc0f90c

Browse files
committed
fix(api): remove duplicate constant and update requesty tests
1 parent 93b5f3d commit bc0f90c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/api/providers/__tests__/openai.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { OpenAiHandler } from "../openai"
22
import { ApiHandlerOptions } from "../../../shared/api"
33
import { Anthropic } from "@anthropic-ai/sdk"
4-
import { DEEP_SEEK_DEFAULT_TEMPERATURE } from "../openai"
4+
import { DEEP_SEEK_DEFAULT_TEMPERATURE } from "../constants"
55

66
// Mock OpenAI client
77
const mockCreate = jest.fn()

src/api/providers/openai.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ import { convertToSimpleMessages } from "../transform/simple-format"
1515
import { ApiStream, ApiStreamUsageChunk } from "../transform/stream"
1616
import { BaseProvider } from "./base-provider"
1717
import { XmlMatcher } from "../../utils/xml-matcher"
18-
19-
export const DEEP_SEEK_DEFAULT_TEMPERATURE = 0.6
18+
import { DEEP_SEEK_DEFAULT_TEMPERATURE } from "./constants"
2019

2120
export const defaultHeaders = {
2221
"HTTP-Referer": "https://github.com/RooVetGit/Roo-Cline",

0 commit comments

Comments
 (0)