Skip to content

fix: resolve backend API and conjugation edge cases#6

Merged
yuaiccc merged 1 commit intomainfrom
fix/backend-bugs
May 1, 2026
Merged

fix: resolve backend API and conjugation edge cases#6
yuaiccc merged 1 commit intomainfrom
fix/backend-bugs

Conversation

@yuaiccc
Copy link
Copy Markdown
Owner

@yuaiccc yuaiccc commented May 1, 2026

Resolves #5. Fixes Jisho API stream error handling, unifies Ollama models to process.env.OLLAMA_MODEL, and adds Godan verb exceptions for 'tou' and 'kou'.

Closes #5

- Add res.on('error') handler to Jisho API HTTP stream
- Unify hardcoded Ollama models (qwen2.5:7b/14b) to process.env.OLLAMA_MODEL with a default of 'qwen2.5'
- Add Godan verb exceptions for 'tou' (問う) and 'kou' (請う) te/ta-form conjugations
@yuaiccc yuaiccc merged commit 7d5491d into main May 1, 2026
1 check passed
@yuaiccc yuaiccc deleted the fix/backend-bugs branch May 1, 2026 18:30
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.

Bug: Fix Unhandled Stream Errors, Ollama Model Inconsistencies, and Tou/Kou Conjugation Exceptions

1 participant