Switch agent discovery to ModelScope
This commit is contained in:
@@ -15,13 +15,13 @@ submission poller in a child process.
|
||||
|
||||
## Runtime Environment
|
||||
|
||||
The image includes single-account ModelHub and Hugging Face token fallbacks for
|
||||
The image includes single-account ModelHub and ModelScope token fallbacks for
|
||||
the agent platform. Environment variables can override them without rebuilding
|
||||
the image.
|
||||
|
||||
- `MODELHUB_XC_TOKEN`, `XC_TOKEN`, or `MODELHUB_TOKEN` for ModelHub API authentication
|
||||
- `MODELHUB_JWT_TOKEN` or `JWT_TOKEN` can be used instead when the platform provides a JWT
|
||||
- `HF_TOKEN` optional override for the embedded Hugging Face fallback token
|
||||
- `MODELSCOPE_API_TOKEN` or `MODELSCOPE_TOKEN` optional override for the embedded ModelScope fallback token
|
||||
- `STRATEGY_ID` is expected to be injected by the ModelHub agent platform and is attached to submissions for strategy attribution; it is not an API authentication token
|
||||
|
||||
Optional tuning:
|
||||
@@ -40,6 +40,6 @@ Optional tuning:
|
||||
Create a tag and submit the repository URL plus tag in "我的适配智能体".
|
||||
|
||||
```bash
|
||||
git tag agent-v1
|
||||
git push origin agent-v1
|
||||
git tag agent-v4
|
||||
git push origin agent-v4
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user