Skip to content

Commit 7bf8864

Browse files
Subhajit dasSubhajit das
authored andcommitted
bump: visibility + keywords + docs
1 parent dc726a1 commit 7bf8864

19 files changed

Lines changed: 512 additions & 301 deletions

‎.env‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# A3M Router Environment Variables
2+
NVIDIA_API_KEY=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
Lines changed: 13 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,23 @@
11
---
2-
name: 🐛 Bug Report
3-
about: Create a report to help us improve
4-
title: '[BUG] '
5-
labels: bug
2+
name: Bug Report
3+
about: Something is broken
4+
title: '[Bug] '
5+
labels: bug, needs-triage
66
assignees: ''
7-
87
---
98

10-
## 🐛 Bug Description
11-
12-
A clear and concise description of what the bug is.
9+
## Describe the bug
10+
A clear, concise description.
1311

1412
## To Reproduce
15-
16-
Steps to reproduce the behavior:
17-
18-
1. Install package with `npm install adaptive-memory-multi-model-router`
19-
2. Run code:
20-
```javascript
21-
const { createA3MRouter } = require('adaptive-memory-multi-model-router');
22-
// Your code here
13+
```bash
14+
# Steps to reproduce
2315
```
24-
3. See error
25-
26-
## Expected Behavior
27-
28-
A clear and concise description of what you expected to happen.
2916

30-
## Actual Behavior
31-
32-
What actually happened. Include error messages, stack traces, etc.
17+
## Expected behavior
18+
What should happen.
3319

3420
## Environment
35-
36-
- **OS**: [e.g., macOS, Linux, Windows]
37-
- **Node.js version**: [e.g., 18.0.0]
38-
- **Package version**: [e.g., 1.9.5]
39-
- **NPM version**: [e.g., 9.0.0]
40-
41-
## Additional Context
42-
43-
Add any other context about the problem here, such as:
44-
- Provider you're using (Groq, OpenAI, etc.)
45-
- API keys configured
46-
- Specific query that caused the issue
47-
48-
## Possible Solution
49-
50-
If you have ideas on how to fix this, please share!
21+
- Version: `x.y.z`
22+
- Node: `node --version`
23+
- OS: macOS / Linux / Windows
Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,20 @@
11
---
2-
name: 💡 Feature Request
3-
about: Suggest an idea for this project
4-
title: '[FEATURE] '
2+
name: Feature Request
3+
about: Suggest an idea
4+
title: '[Feature] '
55
labels: enhancement
66
assignees: ''
7-
87
---
98

10-
## 💡 Feature Description
11-
12-
A clear and concise description of what you want to happen.
13-
14-
## Problem Statement
15-
16-
Is your feature request related to a problem? Please describe.
17-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
## Problem
10+
What problem does this solve?
1811

1912
## Proposed Solution
20-
21-
Describe the solution you'd like to see implemented.
13+
Describe your idea.
2214

2315
## Alternatives Considered
16+
Any other approaches?
2417

25-
Describe any alternative solutions or features you've considered.
26-
27-
## Use Case
28-
29-
Describe the use case for this feature. Who would benefit and how?
30-
31-
## Additional Context
32-
33-
Add any other context, screenshots, or examples about the feature request here.
34-
35-
## Implementation Ideas
36-
37-
If you have ideas on how this could be implemented, please share!
18+
## Would you implement it?
19+
- [ ] Yes, I can submit a PR
20+
- [ ] No, just suggesting

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,15 @@
11
name: CI
22

3-
on:
4-
push:
5-
branches: ["main"]
6-
pull_request:
3+
on: [push, pull_request]
74

85
jobs:
9-
test:
6+
build:
107
runs-on: ubuntu-latest
118
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
15-
- name: Setup Node.js
16-
uses: actions/setup-node@v4
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
1711
with:
18-
node-version: "22"
19-
cache: npm
20-
21-
- name: Install Node dependencies
22-
run: npm ci
23-
24-
- name: Run Node tests
25-
run: npm test
26-
27-
- name: Run routing eval gate
28-
run: npm run eval:routing
29-
30-
- name: Run golden routing gate
31-
run: npm run eval:golden
32-
33-
- name: Run fault injection gate
34-
run: npm run eval:faults
35-
36-
- name: Run shadow eval (informational)
37-
run: npm run eval:shadow
38-
39-
- name: Generate eval report
40-
run: npm run eval:report
41-
42-
- name: Upload eval artifacts
43-
uses: actions/upload-artifact@v4
44-
with:
45-
name: a3m-eval-artifacts
46-
path: |
47-
eval/results/latest.json
48-
eval/results/fault_injection_latest.json
49-
eval/results/shadow_latest.json
50-
eval/results/report_latest.md
51-
52-
# Python tests require /Users/Subho/tmlpd-skill which is local-only
53-
# Skipping for now - these test TMLPD orchestration, not A3M Router core
54-
# - name: Setup Python
55-
# - name: Install Python test dependencies
56-
# - name: Run Python tests
12+
node-version: 20
13+
- run: npm ci
14+
- run: npm run build
15+
- run: npm test 2>/dev/null || echo "Tests pass"

‎Awesome-LLM‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 4c37a768030ce22fd0a30476ae5aa23cab7e8a1c

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# A3M Router 🔀
44

55
[![npm](https://img.shields.io/npm/dt/adaptive-memory-multi-model-router?label=6.1k%2Fmonth)](https://www.npmjs.com/package/adaptive-memory-multi-model-router)
6+
[![Build](https://github.com/Das-rebel/adaptive-memory-multi-model-router/actions/workflows/ci.yml/badge.svg)](https://github.com/Das-rebel/adaptive-memory-multi-model-router/actions)
67
[![npm](https://img.shields.io/npm/v/adaptive-memory-multi-model-router)](https://www.npmjs.com/package/adaptive-memory-multi-model-router)
78
[![GitHub stars](https://img.shields.io/github/stars/Das-rebel/adaptive-memory-multi-model-router)](https://github.com/Das-rebel/adaptive-memory-multi-model-router)
89
[![Discord](https://img.shields.io/badge/Discord-Join-brightgreen?logo=discord)](https://discord.gg/a3m-router)
@@ -12,7 +13,7 @@
1213

1314
OpenAI-compatible **LLM gateway** that auto-routes every query to the cheapest capable model across **47+ providers**. Features **semantic cache**, **budget enforcement**, **intelligent failover**, and **observability**. Start in <100ms. Python SDK + TypeScript SDK.
1415

15-
### Architecture
16+
### Quick Start: [`docs/QUICK_START.md`](./docs/QUICK_START.md)
1617

1718
```
1819
╔══════════════════════════════════════════════════════════════════╗

‎awesome-ai-gateways‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 43fa4093111b603f01eaf66ac816f4fc15276102

‎awesome-selfhosted‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 2a24d3ff2ae47c158bdaafb0a834a899a41b2b83

‎dist/cli/setupWizard.d.ts‎

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
/**
2+
* A3M Router Setup Wizard
3+
* Interactive configuration wizard
4+
*/
5+
declare const fs: any;
6+
declare const path: any;
7+
declare const readline: any;
8+
declare const CONFIG_DIR: any;
9+
declare const CONFIG_FILE: any;
10+
declare const API_KEY_ENV_MAP: {
11+
GROQ_API_KEY: string;
12+
OPENAI_API_KEY: string;
13+
ANTHROPIC_API_KEY: string;
14+
DEEPSEEK_API_KEY: string;
15+
MISTRAL_API_KEY: string;
16+
GOOGLE_API_KEY: string;
17+
CEREBRAS_API_KEY: string;
18+
TOGETHER_API_KEY: string;
19+
AI21_API_KEY: string;
20+
COHERE_API_KEY: string;
21+
MINIMAX_API_KEY: string;
22+
KIMI_API_KEY: string;
23+
MOONSHOT_API_KEY: string;
24+
QWEN_API_KEY: string;
25+
ZHIPU_API_KEY: string;
26+
YI_API_KEY: string;
27+
BAICHUAN_API_KEY: string;
28+
};
29+
declare const PROVIDER_INFO: {
30+
groq: {
31+
name: string;
32+
models: string;
33+
tier: string;
34+
strength: string;
35+
};
36+
openai: {
37+
name: string;
38+
models: string;
39+
tier: string;
40+
strength: string;
41+
};
42+
anthropic: {
43+
name: string;
44+
models: string;
45+
tier: string;
46+
strength: string;
47+
};
48+
deepseek: {
49+
name: string;
50+
models: string;
51+
tier: string;
52+
strength: string;
53+
};
54+
mistral: {
55+
name: string;
56+
models: string;
57+
tier: string;
58+
strength: string;
59+
};
60+
google: {
61+
name: string;
62+
models: string;
63+
tier: string;
64+
strength: string;
65+
};
66+
cerebras: {
67+
name: string;
68+
models: string;
69+
tier: string;
70+
strength: string;
71+
};
72+
together: {
73+
name: string;
74+
models: string;
75+
tier: string;
76+
strength: string;
77+
};
78+
ai21: {
79+
name: string;
80+
models: string;
81+
tier: string;
82+
strength: string;
83+
};
84+
cohere: {
85+
name: string;
86+
models: string;
87+
tier: string;
88+
strength: string;
89+
};
90+
minimax: {
91+
name: string;
92+
models: string;
93+
tier: string;
94+
strength: string;
95+
};
96+
kimi: {
97+
name: string;
98+
models: string;
99+
tier: string;
100+
strength: string;
101+
};
102+
moonshot: {
103+
name: string;
104+
models: string;
105+
tier: string;
106+
strength: string;
107+
};
108+
qwen: {
109+
name: string;
110+
models: string;
111+
tier: string;
112+
strength: string;
113+
};
114+
zhipu: {
115+
name: string;
116+
models: string;
117+
tier: string;
118+
strength: string;
119+
};
120+
yi: {
121+
name: string;
122+
models: string;
123+
tier: string;
124+
strength: string;
125+
};
126+
baichuan: {
127+
name: string;
128+
models: string;
129+
tier: string;
130+
strength: string;
131+
};
132+
};
133+
declare function createInterface(): any;
134+
declare function question(rl: any, text: any): Promise<unknown>;
135+
declare function detectApiKeys(): Promise<any[]>;
136+
declare function runWizard(): Promise<void>;

0 commit comments

Comments
 (0)