File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,44 @@ If you want to override the provider config for some models in the namespace and
5656
5757Example configuration
5858
59- {/*TODO: Missing code?*/ }
59+ ```json
60+ {
61+ "cody.enabled" : true ,
62+ "modelConfiguration" : {
63+ "sourcegraph" : {},
64+ "providerOverrides" : [
65+ {
66+ "id" : " anthropic-byok" ,
67+ "displayName" : " Anthropic BYOK" ,
68+ "serverSideConfig" : {
69+ "type" : " anthropic" ,
70+ "accessToken" : " token" ,
71+ "endpoint" : " https://api.anthropic.com/v1/messages"
72+ }
73+ }
74+ ],
75+ "modelOverrides" : [
76+ {
77+ "modelRef" : " anthropic-byok::2023-06-01::claude-3.5-sonnet" ,
78+ "displayName" : " Claude 3.5 Sonnet" ,
79+ "modelName" : " claude-3-5-sonnet-latest" ,
80+ "capabilities" : [" edit" , " chat" ],
81+ "category" : " accuracy" ,
82+ "status" : " stable" ,
83+ "tier" : " free" ,
84+ "contextWindow" : {
85+ "maxInputTokens" : 45000 ,
86+ "maxOutputTokens" : 4000
87+ }
88+ },
89+ ],
90+ "defaultModels" : {
91+ "chat" : " anthropic-byok::2023-06-01::claude-3.5-sonnet" ,
92+ "fastChat" : " anthropic::2023-06-01::claude-3-haiku" ,
93+ "autocomplete" : " fireworks::v1::deepseek-coder-v2-lite-base"
94+ }
95+ }
96+ ```
6097
6198In the configuration above, we:
6299
You can’t perform that action at this time.
0 commit comments