直接跟Agent說:
參考以網址下配置範例, 設定四個subagents,名稱比照下面的配置,唯獨home dir做相應的修改符合實際路徑。注意:只新增或修改 subagents 配置即可,model部分不要調整。 https://gist.github.com/pahud/141c35bd9a84af0befe52a4ff475bd2f
"agents": {直接跟Agent說:
參考以網址下配置範例, 設定四個subagents,名稱比照下面的配置,唯獨home dir做相應的修改符合實際路徑。注意:只新增或修改 subagents 配置即可,model部分不要調整。 https://gist.github.com/pahud/141c35bd9a84af0befe52a4ff475bd2f
"agents": {| { | |
| "bindings": [ | |
| { | |
| "agentId": "main", | |
| "match": { | |
| "channel": "telegram", | |
| "accountId": "default" | |
| } | |
| }, | |
| { |
cat ~/.openclaw/openclaw.json | jq -r .models{
"mode": "merge",
"providers": {
"bedrock": {| #!/bin/bash | |
| echo "Searching for trusted tools..." | |
| TOOLS=$(grep -v "not trusted$" "$0" | grep "trusted$" | sed 's/^- \([^ ]*\).*/\1/' | tr '\n' ',' | sed 's/,$//') | |
| echo "Found tools: $TOOLS" | |
| if [ -z "$TOOLS" ]; then | |
| echo "Warning: No trusted tools found!" | |
| exit 1 | |
| fi |
| #!/bin/sh | |
| kubectl --namespace=kube-system get po | |
| helm upgrade --install --create-namespace -n nginx my-nginx oci://registry-1.docker.io/bitnamicharts/nginx | |
| kubectl --namespace=nginx get po |
| function updateData(){ | |
| // var ss = SpreadsheetApp.getActiveSpreadsheet(), | |
| var sheet = SpreadsheetApp.getActive().getSheetByName('GST') | |
| let coins = [ | |
| 'green-satoshi-token-bsc', | |
| 'green-satoshi-token', | |
| 'binancecoin', | |
| 'solana', | |
| ]; | |
| var prices = getCGSimplePrices(coins.join(','), 'usd') |
| # watch the demo at https://youtu.be/cGUNf1FMNvI | |
| # | |
| # customize these variables | |
| # | |
| DEFAULT_PROFILE='default' | |
| DEFAULT_REGION='us-east-1' | |
| DEFAULT_OUTPUT='json' | |
| SSO_START_URL='https://your-sso.awsapps.com/start' | |
| SSO_REGION='us-east-1' | |
| SSO_ACCOUNT_ID='123456789012' |
| #!/bin/bash | |
| # video demo - https://www.youtube.com/watch?v=Y8TyE_DNds8 | |
| mkdir ~/.tmp && cd $_ | |
| # install aws-cli v2 | |
| curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ | |
| unzip awscliv2.zip && \ | |
| sudo ./aws/install |
Open a new Amazon Linux 2 EC2(amd64) on AWS. Make it spot instance if you prefer.
ssh ec2-user@<EC2_IP> into the EC2 instance:
# install and start docker
$ sudo yum install -y docker
$ sudo service docker start| Resources: | |
| FlaskService3B7F72B9: | |
| Type: AWS::AppRunner::Service | |
| Properties: | |
| SourceConfiguration: | |
| CodeRepository: | |
| CodeConfiguration: | |
| ConfigurationSource: REPOSITORY | |
| RepositoryUrl: https://github.com/aws-containers/hello-app-runner | |
| SourceCodeVersion: |