Skip to content

Commit 5fbcdd5

Browse files
authored
Merge pull request #4960 from metcalfc/inceptionlabs-provider
inceptionlabs provider
2 parents 4c299e1 + ec8af0e commit 5fbcdd5

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

core/llm/llms/Inception.ts

+23-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,31 @@ import { streamSse } from "../stream.js";
33

44
import OpenAI from "./OpenAI.js";
55

6+
/**
7+
* Inception Labs provider
8+
*
9+
* Integrates with Inception Labs' OpenAI-compatible API endpoints.
10+
* Provides access to Mercury models for autocomplete and other tasks.
11+
*
12+
* Different models use different API endpoints:
13+
* - mercury-editor-mini-experimental: zaragoza.api.inceptionlabs.ai
14+
* - mercury-editor-small-experimental: copenhagen.api.inceptionlabs.ai
15+
*
16+
* More information at: https://docs.inceptionlabs.ai/
17+
*/
618
class Inception extends OpenAI {
719
static providerName = "inception";
8-
static defaultOptions: Partial<LLMOptions> = {};
20+
static defaultOptions: Partial<LLMOptions> = {
21+
apiBase: "https://copenhagen.api.inceptionlabs.ai/v1/",
22+
model: "mercury-editor-small-experimental",
23+
completionOptions: {
24+
temperature: 0.0,
25+
maxTokens: 150,
26+
presencePenalty: 1.5,
27+
stop: ["\n\n", "\n \n", "<|endoftext|>"],
28+
model: "mercury-editor-small-experimental", // Added model to fix TypeScript error
29+
},
30+
};
931

1032
supportsFim(): boolean {
1133
return true;

extensions/intellij/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pluginGroup=com.github.continuedev.continueintellijextension
33
pluginName=continue-intellij-extension
44
pluginRepositoryUrl=https://github.com/continuedev/continue
55
# SemVer format -> https://semver.org
6-
pluginVersion=1.0.9
6+
pluginVersion=1.0.10
77
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
88
pluginSinceBuild=223
99
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension

extensions/vscode/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "continue",
33
"icon": "media/icon.png",
44
"author": "Continue Dev, Inc",
5-
"version": "1.1.18",
5+
"version": "1.1.19",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/continuedev/continue"

gui/public/logos/inception.png

12.7 KB
Loading

0 commit comments

Comments
 (0)