@vostride/agent-qa-model 0.2.3 → 0.2.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.
package/dist/index.cjs CHANGED
@@ -790,7 +790,7 @@ var LOCAL_OPENAI_WIRE = [
790
790
  {
791
791
  id: "deepseek-chat",
792
792
  label: "DeepSeek Chat",
793
- notes: "text-only model; use accessibility tree and DOM context."
793
+ notes: "Text-only model; use the accessibility tree."
794
794
  },
795
795
  { id: "deepseek-r1", label: "DeepSeek R1", notes: "Text-only reasoning model." },
796
796
  { id: "qwen2.5-vl", label: "Qwen2.5 VL" },
@@ -1326,10 +1326,7 @@ function seedBuiltins() {
1326
1326
  subscription: true,
1327
1327
  modelAdapter: "openai-responses",
1328
1328
  defaultModel: "gpt-6.1-sol",
1329
- // RUNX-01: the codex/ChatGPT-subscription Responses backend rejects the output cap
1330
- // (`max_output_tokens`) with HTTP 400. Strip it at egress for this provider ONLY —
1331
- // standard OpenAI-compatible `.chat()` endpoints and Anthropic support the cap.
1332
- // 2026-10-20 (446-11, D-18): it also answers 400 "Unsupported parameter: temperature".
1329
+ // The subscription backend rejects `max_output_tokens` and `temperature` with HTTP 400.
1333
1330
  unsupportedParams: ["maxOutputTokens", "temperature"]
1334
1331
  });
1335
1332
  registerProvider({
@@ -1479,9 +1476,9 @@ var MIDDLEWARE = [
1479
1476
  toolSchemaMiddleware,
1480
1477
  deriveExamplesMiddleware(),
1481
1478
  (0, import_ai4.addToolInputExamplesMiddleware)(),
1482
- // RUNX-04: flag-gated debug logging (AGENT_QA_DEBUG_LLM); catches the raw APICallError first.
1479
+ // Flag-gated by `AGENT_QA_DEBUG_LLM`; first, so it catches the raw `APICallError`.
1483
1480
  debugLoggingMiddleware(),
1484
- // RUNX-01: strip empty-content messages just before the wire.
1481
+ // Strips empty-content messages just before the wire.
1485
1482
  dropEmptyMessagesMiddleware()
1486
1483
  ];
1487
1484
  function createModel(profile, auth, mask, overrides = {}, observation = {}) {
@@ -1630,7 +1627,7 @@ function resolveVisionConfig(servicesVision) {
1630
1627
  // src/vision/resolve-gate.ts
1631
1628
  var TEXT_ONLY_PROMPT_NOTE = [
1632
1629
  "Visual screenshot is unavailable for this step.",
1633
- "Rely on the accessibility tree and DOM context for element identification, including roles, names, values, refs, and URLs.",
1630
+ "Rely on the accessibility tree for element identification, including roles, names, values, refs, and URLs.",
1634
1631
  "Verify functional state from the available structured context rather than purely visual appearance."
1635
1632
  ].join(" ");
1636
1633
  function visionFromConfig(configured, capabilities) {