Skip to content

Commit af7b2a9

Browse files
author
Thomas Perry
committed
fix: resolve pre-commit CI failures in moe_routing environment
- Remove unused `Any` import (flake8 F401) - Add `pragma: allowlist secret` for detect-secrets false positive on api_key="local" - Remove dead Chameleon concept paper link from README
1 parent b8da0dd commit af7b2a9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

environments/community/moe_routing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The environment accepts standard Atropos configuration plus:
8383

8484
## Generalization
8585

86-
The routing-over-frozen-experts pattern generalizes beyond LLMs. The same reward structure applies to any domain with multiple specialized classifiers and a feedback signal: RF signal detection, medical triage, content moderation, network security. See the [Chameleon concept paper](https://github.com/thomasperry/chameleon) for cross-domain analysis.
86+
The routing-over-frozen-experts pattern generalizes beyond LLMs. The same reward structure applies to any domain with multiple specialized classifiers and a feedback signal: RF signal detection, medical triage, content moderation, network security.
8787

8888
## License
8989

environments/community/moe_routing/moe_routing_env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import asyncio
2727
import json
2828
import random
29-
from typing import Any, Dict, List, Optional, Tuple
29+
from typing import Dict, List, Optional, Tuple
3030

3131
from pydantic import Field
3232

@@ -395,7 +395,7 @@ def config_init(cls):
395395
APIServerConfig(
396396
model_name="Qwen/Qwen3-8B",
397397
base_url="http://127.0.0.1:8378/v1",
398-
api_key="local",
398+
api_key="local", # pragma: allowlist secret
399399
)
400400
],
401401
)

0 commit comments

Comments
 (0)