truncate api.deepseek.com stop tokens list
This commit is contained in:
parent
8bcfcd439d
commit
110cb42988
3 changed files with 6 additions and 2 deletions
3
core/index.d.ts
vendored
3
core/index.d.ts
vendored
|
|
@ -772,6 +772,7 @@ interface ExperimentalConfig {
|
|||
promptPath?: string;
|
||||
}
|
||||
|
||||
// config.json
|
||||
export interface SerializedContinueConfig {
|
||||
env?: string[];
|
||||
allowAnonymousTelemetry?: boolean;
|
||||
|
|
@ -799,6 +800,7 @@ export type ContinueRcJson = Partial<SerializedContinueConfig> & {
|
|||
mergeBehavior: ConfigMergeType;
|
||||
};
|
||||
|
||||
// config.ts - give users simplified interfaces
|
||||
export interface Config {
|
||||
/** If set to true, Continue will collect anonymous usage data to improve the product. If set to false, we will collect nothing. Read here to learn more: https://docs.continue.dev/telemetry */
|
||||
allowAnonymousTelemetry?: boolean;
|
||||
|
|
@ -842,6 +844,7 @@ export interface Config {
|
|||
experimental?: ExperimentalConfig;
|
||||
}
|
||||
|
||||
// in the actual Continue source code
|
||||
export interface ContinueConfig {
|
||||
allowAnonymousTelemetry?: boolean;
|
||||
models: ILLM[];
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ class OpenAI extends BaseLLM {
|
|||
: url.port === "1337" ||
|
||||
url.host === "api.openai.com" ||
|
||||
url.host === "api.groq.com" ||
|
||||
url.host === "api.deepseek.com" ||
|
||||
this.apiType === "azure"
|
||||
? options.stop?.slice(0, 4)
|
||||
: options.stop,
|
||||
|
|
|
|||
|
|
@ -86,13 +86,13 @@ const config = {
|
|||
to: "https://github.com/continuedev/continue",
|
||||
label: "GitHub",
|
||||
position: "right",
|
||||
className: 'github-navbar',
|
||||
className: "github-navbar",
|
||||
},
|
||||
{
|
||||
to: "https://discord.gg/vapESyrFmJ",
|
||||
label: "Discord",
|
||||
position: "right",
|
||||
className: 'discord-navbar',
|
||||
className: "discord-navbar",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue