@kakarot-ci/core 0.5.1 → 0.6.0

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/cli/index.js CHANGED
@@ -387,6 +387,12 @@ async function loadConfig() {
387
387
  if (!config.githubToken && process.env.GITHUB_TOKEN) {
388
388
  config.githubToken = process.env.GITHUB_TOKEN;
389
389
  }
390
+ if (process.env.PROVIDER) {
391
+ config.provider = process.env.PROVIDER;
392
+ }
393
+ if (process.env.MODEL) {
394
+ config.model = process.env.MODEL;
395
+ }
390
396
  return KakarotConfigSchema.parse(config);
391
397
  } catch (err) {
392
398
  if (err instanceof Error && err.message.includes("apiKey")) {