Skip to content

Fix accidental local image-generation routing#7

Merged
dovvnloading merged 1 commit into
mainfrom
codex/fix-local-image-routing
Jul 14, 2026
Merged

Fix accidental local image-generation routing#7
dovvnloading merged 1 commit into
mainfrom
codex/fix-local-image-routing

Conversation

@dovvnloading

Copy link
Copy Markdown
Owner

What changed

  • Removed the keyword-based image-generation heuristic from send_message().
  • Normal chat text now always uses the selected chat provider, including Ollama and other local runtimes.
  • Image generation remains available through explicit node actions only.
  • Added regression coverage and updated the architecture findings.

Root cause

send_message() silently routed messages containing image-related verb/noun pairs into api_provider.generate_image(). The provider correctly rejected that call outside API Endpoint mode, producing Image generation is only available in API Endpoint mode. even though the user was using local chat.

Validation

  • python -m pytest graphlink_app\\tests
  • 394 passed

@dovvnloading dovvnloading marked this pull request as ready for review July 14, 2026 13:07
@dovvnloading dovvnloading merged commit 170907a into main Jul 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant