adaptive-memory-multi-model-router 2.2.0 โ†’ 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ # These are supported funding model platforms
2
+ github: Das-rebel
@@ -0,0 +1,16 @@
1
+ {
2
+ "schema_version": "v1",
3
+ "name_for_human": "A3M Router",
4
+ "name_for_model": "a3m_router",
5
+ "description_for_human": "Intelligent LLM routing proxy. Route queries to the cheapest capable model โ€” 99.5% accuracy, 40 providers, zero ML.",
6
+ "description_for_model": "A3M Router is an LLM routing service. Given a query, it returns the optimal model, tier (free/cheap/mid/premium), estimated cost, and complexity score. Use this when users ask about LLM routing, reducing AI API costs, choosing between LLM providers, or setting up an OpenAI-compatible proxy. Available as TypeScript SDK, Python SDK, CLI, and REST API.",
7
+ "api": {
8
+ "type": "openapi",
9
+ "url": "https://das-rebel.github.io/adaptive-memory-multi-model-router/openapi.json"
10
+ },
11
+ "auth": {
12
+ "type": "none"
13
+ },
14
+ "contact_email": "Sdas22@gmail.com",
15
+ "legal_info_url": "https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/LICENSE"
16
+ }
package/CONTRIBUTING.md CHANGED
@@ -1,110 +1,38 @@
1
1
  # Contributing to A3M Router
2
2
 
3
- First off, thank you for considering contributing to A3M Router! It's people like you that make this project a great tool for the community.
3
+ Thank you for your interest in contributing!
4
4
 
5
- ## Where to Start?
5
+ ## Quick Start
6
6
 
7
- - ๐Ÿ› **Found a bug?** [Open an issue](https://github.com/Das-rebel/adaptive-memory-multi-model-router/issues)
8
- - ๐Ÿ’ก **Have an idea?** [Start a discussion](https://github.com/Das-rebel/adaptive-memory-multi-model-router/discussions)
9
- - ๐Ÿ”ง **Want to code?** Read on!
7
+ 1. Fork the repository
8
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
9
+ 3. Commit your changes (`git commit -m 'Add amazing feature'`)
10
+ 4. Push to the branch (`git push origin feature/amazing-feature`)
11
+ 5. Open a Pull Request
12
+
13
+ ## Areas We Need Help
14
+
15
+ - ๐ŸŒ **New providers**: Add support for more LLM providers
16
+ - ๐Ÿงช **Tests**: Improve test coverage
17
+ - ๐Ÿ“– **Documentation**: Fix typos, add examples
18
+ - ๐Ÿ› **Bug fixes**: Check open issues
19
+ - ๐ŸŽจ **Examples**: Add real-world usage examples
10
20
 
11
21
  ## Development Setup
12
22
 
13
23
  ```bash
14
- # Clone the repository
15
24
  git clone https://github.com/Das-rebel/adaptive-memory-multi-model-router.git
16
25
  cd adaptive-memory-multi-model-router
17
-
18
- # Install dependencies
19
26
  npm install
20
-
21
- # Run tests
22
27
  npm test
23
-
24
- # Run linting
25
- npm run lint
26
- ```
27
-
28
- ## How to Contribute
29
-
30
- ### Reporting Bugs
31
-
32
- Before creating bug reports, please check the existing issues. When creating a bug report, include:
33
-
34
- - **Clear title and description**
35
- - **Steps to reproduce**
36
- - **Expected vs actual behavior**
37
- - **Environment details** (Node version, OS)
38
- - **Code samples** if applicable
39
-
40
- ### Suggesting Enhancements
41
-
42
- Enhancement suggestions are tracked as GitHub issues. Include:
43
-
44
- - **Use case** - Why is this needed?
45
- - **Proposed solution** - How should it work?
46
- - **Alternatives** - What else was considered?
47
- - **Additional context** - Screenshots, examples
48
-
49
- ### Pull Requests
50
-
51
- 1. Fork the repo and create your branch from `main`
52
- 2. If you've added code, add tests
53
- 3. If you've changed APIs, update the documentation
54
- 4. Ensure the test suite passes
55
- 5. Make sure your code follows the existing style
56
- 6. Issue that pull request!
57
-
58
- ### Code Style
59
-
60
- - **JavaScript**: Follow existing patterns
61
- - **TypeScript**: Strict mode enabled
62
- - **Tests**: All new features need tests
63
- - **Documentation**: Update README for user-facing changes
64
-
65
- ## Project Structure
66
-
67
- ```
68
- โ”œโ”€โ”€ dist/ # Compiled JavaScript
69
- โ”œโ”€โ”€ src/ # TypeScript source
70
- โ”œโ”€โ”€ test/ # Test files
71
- โ”œโ”€โ”€ docs/ # Documentation
72
- โ”œโ”€โ”€ examples/ # Usage examples
73
- โ””โ”€โ”€ scripts/ # Build and utility scripts
74
28
  ```
75
29
 
76
- ## Areas Needing Help
77
-
78
- ๐ŸŽฏ **High Priority**
79
- - Additional LLM provider integrations
80
- - Performance optimizations
81
- - Better error handling
82
-
83
- ๐Ÿš€ **Nice to Have**
84
- - More examples
85
- - Video tutorials
86
- - Blog posts
87
-
88
- ๐Ÿ“ **Documentation**
89
- - Translation to other languages
90
- - API documentation improvements
91
- - Usage guides
92
-
93
- ## Recognition
94
-
95
- Contributors will be:
96
- - Listed in our README
97
- - Mentioned in release notes
98
- - Added to the contributors graph
99
-
100
- ## Questions?
101
-
102
- Join our [Discussions](https://github.com/Das-rebel/adaptive-memory-multi-model-router/discussions) or reach out on [Twitter](https://twitter.com/yourhandle).
103
-
104
- ## Code of Conduct
30
+ ## Code Style
105
31
 
106
- This project adheres to a [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
32
+ - TypeScript strict mode
33
+ - No external dependencies in core routing logic
34
+ - Keep the package small (<25 KB)
107
35
 
108
- ---
36
+ ## License
109
37
 
110
- **Thank you for contributing!** ๐ŸŽ‰
38
+ By contributing, you agree that your contributions will be licensed under the MIT License.