Commit b1f0899
committed
feat(core): improve code quality based on GitHub Copilot suggestions
- Extract magic number 768 to DEFAULT_OLLAMA_DIMENSION constant
- Extract 'api.openai.com' to OPENAI_API_DOMAIN constant
- Refactor long error messages to static methods for better maintainability
- Update test expectations to match new error message structure
- Improve code readability and reduce duplication1 parent 3f6e90b commit b1f0899
File tree
3 files changed
+32
-6958
lines changed- packages/core
- src/embedding
3 files changed
+32
-6958
lines changed
0 commit comments