Commit Graph
4 Commits
Author SHA1 Message Date
Gerald LonlasandClaude Sonnet 4.6 969e3acb19 fix: api key normalization, UI typo, dead code, route timeout
connect_node.py
- Fix UI label typo: "Enable Reasonning" → "Enable Reasoning"
- Use normalize_api_key() instead of an inline (api_token or "-").strip()
  expression; the helper also checks DEFAULT_API_KEY_PLACEHOLDER so both
  code paths now agree on the canonical fallback value

client.py
- Remove build_responses_input_with_image(): dead code; image_to_text_node
  builds its own multi-image payload directly in _responses_kwargs() and
  this function was never imported or called

routes.py
- _test_handler default timeout: 600 s → 15 s, consistent with
  _models_handler. Both handlers probe connectivity identically; a 10-min
  default on a "Test Connection" button is a foot-gun when called without
  a timeout_seconds query param.
- Drop now-unused DEFAULT_TIMEOUT_SECONDS import

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 21:11:30 +08:00
Gerald Lonlas 466ec9d001 feat: strip <think> reasoning blocks from text output when reasoning is enabled 2026-03-04 14:52:18 +08:00
Gerald Lonlas a78b9b0e8d fix: handle None prompt values during node validation and message build 2026-03-04 14:21:38 +08:00
Gerald Lonlas 8b253a85f4 feat: add LMStudio OpenAI client helpers and safe seed handling 2026-03-04 14:04:34 +08:00