Skip to content

Conversation

@Maphikza
Copy link
Member

Summary

  • Fix image moderation settings not displaying API endpoint and temp directory values
  • Update UI text to be model-agnostic (remove Llama Vision references)
  • Fix React Hook dependency warning in NostrExtensionCheck component

Changes

  • Image Moderation Settings: Add missing field mappings for api and temp_dir in useGenericSettings hook
  • UI Text Updates: Replace "Llama Vision" with generic "AI vision analysis" terminology
  • React Hook Fix: Wrap checkExtension with useCallback and fix dependency array

Maphikza added 4 commits July 21, 2025 15:03
Add missing unprefixed field names ('api', 'temp_dir') to the image
moderation settings mapping to properly handle backend responses that
send both prefixed and unprefixed field names.
Replace specific "Llama Vision" references with generic "AI vision analysis"
and "AI vision model" text to support different vision models.
Wrap checkExtension with useCallback and include it in useEffect
dependencies to resolve exhaustive-deps warning.
@ColbySerpa ColbySerpa merged commit c031ff2 into main Jul 26, 2025
2 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.

3 participants