Commit b45abfc
committed
docs: add comprehensive model pattern configuration help
Added detailed documentation for model pattern configurations in the
--help output, including:
**Format Documentation:**
Documented all 6 supported input formats with examples:
1. Wildcard prefix: `qwen-*` (matches qwen-max, qwen-plus, etc.)
2. Exact model name: `gpt-4-turbo` (matches only this model)
3. Multiple wildcards: `moonshot-*,kimi-*` (matches multiple series)
4. Multiple exact names: `gpt-4-turbo,gpt-4o,gpt-4o-mini`
5. Mixed patterns: `claude-3-5-sonnet-*,claude-opus-4-20250514`
6. Match all: `*` (catch-all provider)
Each format includes:
- Clear example usage
- What it matches
- When to use it
**Available Options:**
Listed all 30+ --xxx-models parameters with provider names:
- --dashscope-models, --deepseek-models, --moonshot-models
- --zhipuai-models, --minimax-models, --azure-models
- --openai-models, --openrouter-models, --yi-models
- ... and all other providers
**Practical Examples:**
Added real-world usage examples:
1. Route specific models to specific providers:
```bash
./get-ai-gateway.sh start --non-interactive \
--openai-key sk-xxx --openai-models "gpt-4-*" \
--deepseek-key sk-xxx --deepseek-models "deepseek-*" \
--claude-key sk-xxx --claude-models "claude-3-5-sonnet-*"
```
2. Multi-provider setup with exact model names:
```bash
./get-ai-gateway.sh start --non-interactive \
--openai-key sk-xxx --openai-models "gpt-4-turbo,gpt-4o" \
--claude-key sk-xxx --claude-models "claude-opus-4-20250514"
```
3. Use OpenRouter as catch-all:
```bash
./get-ai-gateway.sh start --non-interactive \
--openai-key sk-xxx --openai-models "gpt-4-*" \
--openrouter-key sk-xxx --openrouter-models "*"
```
Users can now run `./get-ai-gateway.sh -h` to get comprehensive
guidance on model pattern configuration!1 parent 4f08dff commit b45abfc
1 file changed
Lines changed: 76 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
1500 | 1560 | | |
1501 | 1561 | | |
1502 | 1562 | | |
| |||
1507 | 1567 | | |
1508 | 1568 | | |
1509 | 1569 | | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
1510 | 1586 | | |
1511 | 1587 | | |
1512 | 1588 | | |
| |||
0 commit comments