-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(enterprise): allow multiple models for enterprise customers (#4780)
Co-authored-by: Beatrix <[email protected]> Co-authored-by: Beatrix <[email protected]>
- Loading branch information
1 parent
61d93d6
commit dc9ea0b
Showing
48 changed files
with
1,885 additions
and
1,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ index.scip | |
playwright | ||
playwright-report | ||
test-results | ||
.vscode-test/ |
8 changes: 8 additions & 0 deletions
8
...lin/lib/src/main/kotlin/com/sourcegraph/cody/protocol_generated/ClientSideConfigParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.protocol_generated; | ||
|
||
data class ClientSideConfigParams( | ||
val apiKey: String? = null, | ||
val apiEndpoint: String? = null, | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...dings/kotlin/lib/src/main/kotlin/com/sourcegraph/cody/protocol_generated/ContextParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.protocol_generated; | ||
|
||
data class ContextParams( | ||
val user: Int? = null, | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
.../kotlin/lib/src/main/kotlin/com/sourcegraph/cody/protocol_generated/ModelContextWindow.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.protocol_generated; | ||
|
||
data class ModelContextWindow( | ||
val input: Int, | ||
val output: Int, | ||
val context: ContextParams? = null, | ||
) | ||
|
5 changes: 5 additions & 0 deletions
5
...t/bindings/kotlin/lib/src/main/kotlin/com/sourcegraph/cody/protocol_generated/ModelTag.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.protocol_generated; | ||
|
||
typealias ModelTag = String // One of: accuracy, speed, balanced, recommended, deprecated, experimental, pro, free, enterprise, gateway, byok, local, ollama, dev | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.