git-coco 0.14.3 → 0.14.4

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.
@@ -55,7 +55,7 @@ import * as readline from 'readline';
55
55
  /**
56
56
  * Current build version from package.json
57
57
  */
58
- const BUILD_VERSION = "0.14.3";
58
+ const BUILD_VERSION = "0.14.4";
59
59
 
60
60
  const isInteractive = (config) => {
61
61
  return config?.mode === 'interactive' || !!config?.interactive;
@@ -1870,6 +1870,7 @@ function getLlm(provider, model, config) {
1870
1870
  switch (provider) {
1871
1871
  case 'anthropic':
1872
1872
  return new ChatAnthropic({
1873
+ anthropicApiKey: getApiKeyForModel(config),
1873
1874
  maxConcurrency: config.service.maxConcurrent,
1874
1875
  model,
1875
1876
  });
package/dist/index.js CHANGED
@@ -77,7 +77,7 @@ var readline__namespace = /*#__PURE__*/_interopNamespaceDefault(readline$1);
77
77
  /**
78
78
  * Current build version from package.json
79
79
  */
80
- const BUILD_VERSION = "0.14.3";
80
+ const BUILD_VERSION = "0.14.4";
81
81
 
82
82
  const isInteractive = (config) => {
83
83
  return config?.mode === 'interactive' || !!config?.interactive;
@@ -1892,6 +1892,7 @@ function getLlm(provider, model, config) {
1892
1892
  switch (provider) {
1893
1893
  case 'anthropic':
1894
1894
  return new anthropic.ChatAnthropic({
1895
+ anthropicApiKey: getApiKeyForModel(config),
1895
1896
  maxConcurrency: config.service.maxConcurrent,
1896
1897
  model,
1897
1898
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-coco",
3
- "version": "0.14.3",
3
+ "version": "0.14.4",
4
4
  "description": "zero-effort git commits with coco.",
5
5
  "author": "gfargo <ghfargo@gmail.com>",
6
6
  "license": "MIT",