This commit is contained in:
di-sukharev
2024-02-27 22:04:39 +08:00
parent 45958284c9
commit a296892aaf
2 changed files with 3 additions and 9 deletions
+1 -4
View File
@@ -24291,9 +24291,7 @@ var getConfig = () => {
);
config7[configKey] = validValue;
} catch (error) {
ce(
`'${configKey}' name is invalid, it should be either 'OCO_${configKey.toUpperCase()}' or it doesn't exist.`
);
ce(`Unknown '${configKey}' config option.`);
ce(
`Manually fix the '.env' file or global '~/.opencommit' config file.`
);
@@ -27476,7 +27474,6 @@ var OllamaAi = class {
}
});
const answer = response.data?.response;
console.log("answer", answer);
return answer;
} catch (err) {
const message = err.response?.data?.error ?? err.message;