Skip to content

Commit 033220e

Browse files
authored
chore: add reddit credentials and correct agent addresses (#56)
* chore: add reddit credentials for post extractor * fix: skip deployment of website validation agent * chore: correct deployed agent addresses
1 parent b981fb8 commit 033220e

File tree

7 files changed

+17
-6
lines changed

7 files changed

+17
-6
lines changed

.github/workflows/deploy-agents.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
5858
RAPIDAPI_API_KEY: ${{ secrets.RAPIDAPI_API_KEY }}
5959
SAPLING_API_KEY: ${{ secrets.SAPLING_API_KEY }}
60+
REDDIT_USER: ${{ secrets.REDDIT_USER }}
61+
REDDIT_ID: ${{ secrets.REDDIT_ID }}
62+
REDDIT_SECRET: ${{ secrets.REDDIT_SECRET }}
6063

6164
- name: Check for newly deployed agents
6265
id: check-new-agents
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[agent]
2-
address = "agent1q0hg8jv6cq6a6f2gqddk0xtalyvgxdzq7l94dp4fs4u89npzmf0xgy93t6k"
2+
address = "agent1q0evkudnrrew9pr9u26e5nn5pr4j6qwt6ul256sm56gnvykd2yjexknzejq"
33
include = ""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[agent]
2-
address = "agent1qtkc0ufc3ux57ucnlaz7zz2hxacdh0quw9kk28mt8gucmq3l44hu7rx6e77"
2+
address = "agent1qt70gnyr355uhlrxk68ralyhq2tx9xqj0d6a07r4twvvrtjgrmzjkgpgvq2"
33
include = ""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[agent]
2-
address = "agent1qwj8axua657s730ehw0kzykvugk8pel8s56hjvj8n64kuywa03yjstskwhl"
2+
address = "agent1qfzwqwnqcyqrr8fqdnsu5sac45jl8je53mrrncrzxwlrwa55hgu0vu40es7"
33
include = ""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[agent]
2-
address = "agent1qv2hwyxaurjcvzeyfeqlgj884e4zvzhm982x8w9v673vfuvuf4v8qk7y70l"
2+
address = "agent1q20jn039g90w7lv8rch2uzjwv36tm5kwmsfe5dqc70zht27enqpkcjewdkz"
33
include = ""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[agent]
2-
address = "agent1qf2ezzdsxgkakygttr6g3qzdtqe6jvfa86dfhhx8ctxy8p4h3hxqqg6ca67"
2+
address = "agent1q28eq373k7uemwj9wkq5g0rgqv3hashypd5sq68f2nee0ztg8dfmxy03m44"
33
include = ""

scripts/deploy-all-agents.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
HOSTED_AGENTS_PATH="1-uagents"
22
CATEGORIES=("finance" "geo" "knowledge-base" "search" "travel" "utility")
3+
EXCLUDE=("utility/website-validation-agent")
34

45
cd $HOSTED_AGENTS_PATH
56

67
for category in ${CATEGORIES[@]}; do
78
for agent in $category/*; do
89
cd $agent
910

11+
# Skip excluded agents
12+
if [[ " ${EXCLUDE[@]} " =~ " ${agent} " ]]; then
13+
echo "Skipping agent $agent..."
14+
cd ../..
15+
continue
16+
fi
17+
1018
echo "Deploying agent $agent..."
1119

1220
while IFS='=' read -r key value; do
1321
if cat *.py | grep -q $key; then
1422
echo "Adding secret $key to agent $agent..."
1523
echo "$key=$value" >> .secrets
1624
fi
17-
done < <(printenv | grep API_KEY)
25+
done < <(printenv)
1826

1927
# Create a .avctl folder for new agents if it doesn't exist
2028
avctl hosting init

0 commit comments

Comments
 (0)