You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29933,6 +29934,8 @@ var getDefaultModel = (provider) => {
29933
29934
switch (provider) {
29934
29935
case "ollama":
29935
29936
return "";
29937
+
case "mlx":
29938
+
return "";
29936
29939
case "anthropic":
29937
29940
return MODEL_LIST.anthropic[0];
29938
29941
case "gemini":
@@ -29964,7 +29967,7 @@ var configValidators = {
29964
29967
validateConfig(
29965
29968
"OCO_API_KEY",
29966
29969
value,
29967
-
'You need to provide the OCO_API_KEY when OCO_AI_PROVIDER set to "openai" (default) or "ollama" or "azure" or "gemini" or "flowise" or "anthropic". Run `oco config set OCO_API_KEY=your_key OCO_AI_PROVIDER=openai`'
29970
+
'You need to provide the OCO_API_KEY when OCO_AI_PROVIDER set to "openai" (default) or "ollama" or "mlx" or "azure" or "gemini" or "flowise" or "anthropic". Run `oco config set OCO_API_KEY=your_key OCO_AI_PROVIDER=openai`'
29968
29971
);
29969
29972
return value;
29970
29973
},
@@ -30070,8 +30073,8 @@ var configValidators = {
30070
30073
"test",
30071
30074
"flowise",
30072
30075
"groq"
30073
-
].includes(value) || value.startsWith("ollama"),
30074
-
`${value} is not supported yet, use 'ollama', 'anthropic', 'azure', 'gemini', 'flowise' or 'openai' (default)`
Copy file name to clipboardExpand all lines: out/github-action.cjs
+39-3Lines changed: 39 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -48745,6 +48745,8 @@ var getDefaultModel = (provider) => {
48745
48745
switch (provider) {
48746
48746
case "ollama":
48747
48747
return "";
48748
+
case "mlx":
48749
+
return "";
48748
48750
case "anthropic":
48749
48751
return MODEL_LIST.anthropic[0];
48750
48752
case "gemini":
@@ -48776,7 +48778,7 @@ var configValidators = {
48776
48778
validateConfig(
48777
48779
"OCO_API_KEY",
48778
48780
value,
48779
-
'You need to provide the OCO_API_KEY when OCO_AI_PROVIDER set to "openai" (default) or "ollama" or "azure" or "gemini" or "flowise" or "anthropic". Run `oco config set OCO_API_KEY=your_key OCO_AI_PROVIDER=openai`'
48781
+
'You need to provide the OCO_API_KEY when OCO_AI_PROVIDER set to "openai" (default) or "ollama" or "mlx" or "azure" or "gemini" or "flowise" or "anthropic". Run `oco config set OCO_API_KEY=your_key OCO_AI_PROVIDER=openai`'
48780
48782
);
48781
48783
return value;
48782
48784
},
@@ -48882,8 +48884,8 @@ var configValidators = {
48882
48884
"test",
48883
48885
"flowise",
48884
48886
"groq"
48885
-
].includes(value) || value.startsWith("ollama"),
48886
-
`${value} is not supported yet, use 'ollama', 'anthropic', 'azure', 'gemini', 'flowise' or 'openai' (default)`
'You need to provide the OCO_API_KEY when OCO_AI_PROVIDER set to "openai" (default) or "ollama" or "azure" or "gemini" or "flowise" or "anthropic". Run `oco config set OCO_API_KEY=your_key OCO_AI_PROVIDER=openai`'
187
+
'You need to provide the OCO_API_KEY when OCO_AI_PROVIDER set to "openai" (default) or "ollama" or "mlx" or "azure" or "gemini" or "flowise" or "anthropic". Run `oco config set OCO_API_KEY=your_key OCO_AI_PROVIDER=openai`'
0 commit comments