RWKV
Chinese
English
rwkv-lightning-cuda
rwkv7
agent
tool-use
coding-agent
deep-search
linear-attention
rwkv-pi
Instructions to use RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RWKV
How to use RWKV-Agent-Lab/RWKV7-Agent-7.2B-OpenSource with RWKV:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Sync quickstart scripts byte-for-byte with rwkv-pi main
Browse files- quickstart-linux.sh +1 -1
- quickstart-windows.ps1 +1 -1
quickstart-linux.sh
CHANGED
|
@@ -317,7 +317,7 @@ case "$cmd" in
|
|
| 317 |
;;
|
| 318 |
set-deepseek)
|
| 319 |
if [ -z "$arg2" ]; then
|
| 320 |
-
echo "Usage: rwkv-engine set-deepseek <
|
| 321 |
exit 1
|
| 322 |
fi
|
| 323 |
node -e '
|
|
|
|
| 317 |
;;
|
| 318 |
set-deepseek)
|
| 319 |
if [ -z "$arg2" ]; then
|
| 320 |
+
echo "Usage: rwkv-engine set-deepseek <DEEPSEEK_API_KEY>" >&2
|
| 321 |
exit 1
|
| 322 |
fi
|
| 323 |
node -e '
|
quickstart-windows.ps1
CHANGED
|
@@ -348,7 +348,7 @@ switch ($Action.ToLowerInvariant()) {
|
|
| 348 |
}
|
| 349 |
"set-deepseek" {
|
| 350 |
if (-not $Arg2) {
|
| 351 |
-
throw "Usage: rwkv-engine set-deepseek <
|
| 352 |
}
|
| 353 |
& node -e "const fs=require('node:fs'); const [f,k]=process.argv.slice(1); let t=fs.existsSync(f)?fs.readFileSync(f,'utf8'):''; const up=(s,n,v)=>{const r=new RegExp('^'+n+'=.*$','m'); return r.test(s)?s.replace(r,n+'='+v):s.trimEnd()+'\n'+n+'='+v+'\n';}; t=up(t,'DEEPSEEK_API_KEY',k); t=up(t,'RWKV_WEB_API_KEY',k); fs.writeFileSync(f,t,'utf8');" $EnvFile $Arg2
|
| 354 |
Write-Host "Saved DEEPSEEK_API_KEY to $EnvFile (web_search, web_fetch, and /rwkv-subagent are now enabled)." -ForegroundColor Green
|
|
|
|
| 348 |
}
|
| 349 |
"set-deepseek" {
|
| 350 |
if (-not $Arg2) {
|
| 351 |
+
throw "Usage: rwkv-engine set-deepseek <DEEPSEEK_API_KEY>"
|
| 352 |
}
|
| 353 |
& node -e "const fs=require('node:fs'); const [f,k]=process.argv.slice(1); let t=fs.existsSync(f)?fs.readFileSync(f,'utf8'):''; const up=(s,n,v)=>{const r=new RegExp('^'+n+'=.*$','m'); return r.test(s)?s.replace(r,n+'='+v):s.trimEnd()+'\n'+n+'='+v+'\n';}; t=up(t,'DEEPSEEK_API_KEY',k); t=up(t,'RWKV_WEB_API_KEY',k); fs.writeFileSync(f,t,'utf8');" $EnvFile $Arg2
|
| 354 |
Write-Host "Saved DEEPSEEK_API_KEY to $EnvFile (web_search, web_fetch, and /rwkv-subagent are now enabled)." -ForegroundColor Green
|