BasalGanglia's picture
πŸ”§ Fix 503 timeout: Port 7860 + Enhanced fallbacks + Better error handling
65be7f3 verified
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
// Additional rules specific to this project
'type-enum': [
2,
'always',
[
'feat', // New feature
'fix', // Bug fix
'docs', // Documentation only
'style', // Formatting, missing semi-colons, etc.
'refactor', // Code change that neither fixes a bug nor adds a feature
'perf', // Performance improvement
'test', // Adding tests
'build', // Build system changes
'ci', // CI configuration changes
'chore', // Other changes that don't modify src or test files
'revert', // Revert a previous commit
],
],
'scope-enum': [
2,
'always',
[
// Core modules
'kg', // Knowledge graph related
'embedder', // Embedding service
'ontology', // Data models and ontology
'agent', // Agent-related functionality
'planner', // Planning and orchestration
'ui', // User interface
'api', // API endpoints
// Infrastructure
'deps', // Dependencies
'config', // Configuration
'scripts', // Scripts and automation
'ci', // CI/CD
'docs', // Documentation
'tests', // Testing infrastructure
],
],
'subject-max-length': [2, 'always', 72],
'header-max-length': [2, 'always', 100],
},
};