@algosuite/vo-mcp 0.2.0-beta.22 → 0.2.0-beta.24

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 CHANGED
@@ -6259,8 +6259,6 @@ import { randomUUID as randomUUID3 } from "node:crypto";
6259
6259
 
6260
6260
  // src/consensus/meta-model-caller.ts
6261
6261
  var META_CONSENSUS_MODEL = "muse-spark-1.1";
6262
- var META_MODEL_API_KEY_ENV = "MODEL_API_KEY";
6263
- var META_MODEL_API_KEY_ALIAS = "META_API";
6264
6262
  function createMetaModelCaller(options = {}) {
6265
6263
  void options;
6266
6264
  return async function callMetaWithMetrics2() {
@@ -6632,25 +6630,20 @@ async function tryCreateEngineConsensusClientFromEnvAsync(options = {}) {
6632
6630
  const callerByProvider = {
6633
6631
  anthropic: loaded.shared.callAnthropicWithMetrics,
6634
6632
  openai: loaded.shared.callOpenAIWithMetrics,
6635
- google: loaded.shared.callGeminiWithMetrics,
6636
- deepseek: loaded.shared.callDeepSeekWithMetrics,
6637
- meta: options.metaCaller ?? callMetaWithMetrics
6633
+ google: loaded.shared.callGeminiWithMetrics
6638
6634
  };
6639
6635
  const modelByProvider = {
6640
6636
  anthropic: options.models?.anthropic ?? DEFAULT_MODELS.anthropic,
6641
6637
  openai: options.models?.openai ?? DEFAULT_MODELS.openai,
6642
- google: options.models?.google ?? DEFAULT_MODELS.google,
6643
- deepseek: options.models?.deepseek ?? DEFAULT_MODELS.deepseek,
6644
- meta: options.models?.meta ?? DEFAULT_MODELS.meta
6638
+ google: options.models?.google ?? DEFAULT_MODELS.google
6645
6639
  };
6646
- const adapterEnv = !(env[META_MODEL_API_KEY_ENV] ?? "").trim() && (env[META_MODEL_API_KEY_ALIAS] ?? "").trim() ? { ...env, [META_MODEL_API_KEY_ENV]: env[META_MODEL_API_KEY_ALIAS] } : env;
6647
6640
  const panel = [];
6648
6641
  for (const p of providers) {
6649
6642
  try {
6650
6643
  const adapter = loaded.engine.createAdapter(p, {
6651
6644
  model: modelByProvider[p],
6652
6645
  caller: callerByProvider[p],
6653
- envSource: adapterEnv
6646
+ envSource: env
6654
6647
  });
6655
6648
  panel.push(adapter);
6656
6649
  } catch {