@polka-codes/core 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7933,7 +7933,7 @@ class OllamaService extends AiServiceBase {
|
|
|
7933
7933
|
apiKey: "ollama"
|
|
7934
7934
|
});
|
|
7935
7935
|
this.model = {
|
|
7936
|
-
id: options.modelId || "",
|
|
7936
|
+
id: options.modelId || "maryasov/qwen2.5-coder-cline:7b",
|
|
7937
7937
|
info: openAiModelInfoSaneDefaults
|
|
7938
7938
|
};
|
|
7939
7939
|
}
|
|
@@ -7970,6 +7970,11 @@ var AiServiceProvider;
|
|
|
7970
7970
|
AiServiceProvider2["Ollama"] = "ollama";
|
|
7971
7971
|
AiServiceProvider2["DeepSeek"] = "deepseek";
|
|
7972
7972
|
})(AiServiceProvider ||= {});
|
|
7973
|
+
var defaultModels = {
|
|
7974
|
+
["anthropic" /* Anthropic */]: "claude-3-5-sonnet-20241022",
|
|
7975
|
+
["ollama" /* Ollama */]: "maryasov/qwen2.5-coder-cline:7b",
|
|
7976
|
+
["deepseek" /* DeepSeek */]: "deepseek-chat"
|
|
7977
|
+
};
|
|
7973
7978
|
var createService = (provider, options) => {
|
|
7974
7979
|
switch (provider) {
|
|
7975
7980
|
case "anthropic" /* Anthropic */:
|
|
@@ -8807,9 +8812,7 @@ var defaultTools = [
|
|
|
8807
8812
|
exports_tools.readFile,
|
|
8808
8813
|
exports_tools.writeToFile,
|
|
8809
8814
|
exports_tools.replaceInFile,
|
|
8810
|
-
exports_tools.searchFiles,
|
|
8811
8815
|
exports_tools.listFiles,
|
|
8812
|
-
exports_tools.listCodeDefinitionNames,
|
|
8813
8816
|
exports_tools.attemptCompletion
|
|
8814
8817
|
];
|
|
8815
8818
|
|
|
@@ -8839,6 +8842,7 @@ export {
|
|
|
8839
8842
|
listCodeDefinitionNames,
|
|
8840
8843
|
getLogger,
|
|
8841
8844
|
executeCommand,
|
|
8845
|
+
defaultModels,
|
|
8842
8846
|
createServiceLogger,
|
|
8843
8847
|
createService,
|
|
8844
8848
|
attemptCompletion,
|