Skip to content

Commit 6566a21

Browse files
authored
fix: deployed agent address template format (#54)
* fix: deployed agent address template format * fix: extra character
1 parent af3f840 commit 6566a21

File tree

26 files changed

+26
-26
lines changed

26 files changed

+26
-26
lines changed

1-uagents/finance/company-overview-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class CompanyOverviewResponse(Model):
9494
agent = Agent()
9595

9696

97-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
97+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
9898

9999
ticker = "AMZN"
100100

1-uagents/finance/company-ticker-resolver-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class TickerResponse(Model):
4040
agent = Agent()
4141

4242

43-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
43+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4444

4545
company = "Amazon"
4646

1-uagents/finance/finance-q&a-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ from uagents import Agent, Context, Model
3939

4040
agent = Agent()
4141

42-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
42+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4343

4444

4545
class FinanceQA(Model):

1-uagents/finance/financial-news-sentiment-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class FinancialNewsSentimentResponse(Model):
6666
agent = Agent()
6767

6868

69-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
69+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
7070

7171
ticker = "AAPL"
7272

1-uagents/finance/finbert-financial-sentiment-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class FinancialSentimentResponse(Model):
4343

4444
agent = Agent()
4545

46-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
46+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4747

4848
prompt = (
4949
"Apple has launched its iphone 16 and the sales are half the times of iphone 15."

1-uagents/finance/stock-price-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class StockPriceResponse(Model):
4141
agent = Agent()
4242

4343

44-
STOCK_PRICE_AGENT_ADDRESS = "<deployed_agent_address>"
44+
STOCK_PRICE_AGENT_ADDRESS = "{{ .Agent.Address }}"
4545

4646
prompts = [
4747
"AMZN",

1-uagents/finance/technical-analysis-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ agent = Agent(
7676
)
7777

7878

79-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
79+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
8080

8181
ticker = "AMZN"
8282

1-uagents/geo/geoapify-car-park-locator-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class GeoParkingResponse(Model):
8888
agent = Agent()
8989

9090

91-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
91+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
9292

9393
latitude = 35.7174747
9494
longitude = 139.7941792

1-uagents/geo/google-api-geolocation-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class GeolocationResponse(Model):
4242
agent = Agent()
4343

4444

45-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
45+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4646

4747

4848
address = "Kings Cross Station, London"

1-uagents/geo/google-maps-places-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ from uagents import Agent, Context
9696

9797
agent = Agent()
9898

99-
GMAPS_AGENT_ADDRESS = "<deployed_agent_address>"
99+
GMAPS_AGENT_ADDRESS = "{{ .Agent.Address }}"
100100

101101
example_request = POIAreaRequest(
102102
loc_search=Coordinates(latitude=48.140505822096365, longitude=11.559987118245475),

1-uagents/geo/open-charge-map-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ from uagents import Agent, Context
8888
agent = Agent()
8989

9090

91-
OPEN_CHARGE_MAP_AGENT = "<deployed_agent_address>"
91+
OPEN_CHARGE_MAP_AGENT = "{{ .Agent.Address }}"
9292

9393
example_request = POIAreaRequest(
9494
loc_search=Coordinates(latitude=48.140505822096365, longitude=11.559987118245475),

1-uagents/geo/opencage-geolocation-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class GeolocationResponse(Model):
4343
agent = Agent()
4444

4545

46-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
46+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4747

4848

4949
address = "Kings Cross Station, London"

1-uagents/knowledge-base/claude.ai-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class TextResponse(Model):
4343
agent = Agent()
4444

4545

46-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
46+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4747

4848
prompts = [
4949
"How is the weather in London today?",

1-uagents/knowledge-base/google-gemini-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Response(Model):
6060
agent = Agent()
6161

6262

63-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
63+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
6464

6565
prompts = [
6666
"What is the square root of 123456789?",

1-uagents/knowledge-base/openai-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Response(Model):
4747
agent = Agent()
4848

4949

50-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
50+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
5151

5252

5353
code = """

1-uagents/search/tavily-search-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class WebSearchResponse(Model):
7575

7676
agent = Agent()
7777

78-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
78+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
7979

8080
prompt = "What is a Fetch.ai agent?"
8181

1-uagents/travel/flights-retriever-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class FlightsSearchResponse(Model):
108108

109109
agent = Agent()
110110

111-
flights_agent_address = "<deployed_agent_address>"
111+
flights_agent_address = "{{ .Agent.Address }}"
112112

113113

114114
msg_request = FlightsSearchRequest(

1-uagents/utility/average-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Response(Model):
6060
agent = Agent()
6161

6262

63-
AVERAGE_AGENT_ADDRESS = "<deployed_agent_address>"
63+
AVERAGE_AGENT_ADDRESS = "{{ .Agent.Address }}"
6464

6565
prompts = [
6666
(1, 6, 3, 7, 2, 5, 8, 3, 5, 12), # tuple

1-uagents/utility/github-organisation-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class GitHubOrganisationResponse(Model):
5656

5757
agent = Agent()
5858

59-
GITHUB_ORG_AGENT_ADDRESS = "<deployed_agent_address>"
59+
GITHUB_ORG_AGENT_ADDRESS = "{{ .Agent.Address }}"
6060

6161
organisation_name = "fetchai"
6262

1-uagents/utility/github-pull-requests-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class GitHubPRResponse(Model):
7070

7171
agent = Agent()
7272

73-
GITHUB_REPO_AGENT_ADDRESS = "<deployed_agent_address>"
73+
GITHUB_REPO_AGENT_ADDRESS = "{{ .Agent.Address }}"
7474

7575
# Organisation name and repo name
7676
organisation_name = "fetchai"

1-uagents/utility/github-repositories-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class GitHubRepoResponse(Model):
8787

8888
agent = Agent()
8989

90-
GITHUB_REPO_AGENT_ADDRESS = "<deployed_agent_address>"
90+
GITHUB_REPO_AGENT_ADDRESS = "{{ .Agent.Address }}"
9191

9292
organisation_name = "fetchai"
9393

1-uagents/utility/grammar-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class GrammarCheckResponse(Model):
3939

4040
agent = Agent()
4141

42-
GRAMMAR_CHECK_AGENT_ADDRESS = "<deployed_agent_address>"
42+
GRAMMAR_CHECK_AGENT_ADDRESS = "{{ .Agent.Address }}"
4343

4444

4545
# Input: Text with grammatical and spelling mistakes

1-uagents/utility/openAI-translator-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class TranslationResponse(Model):
4545
agent = Agent()
4646

4747

48-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
48+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4949

5050

5151
request = TranslationRequest(

1-uagents/utility/post-extractor-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class PostsResponse(Model):
3939
agent = Agent()
4040

4141

42-
POST_AGENT_ADDRESS = = "<deployed_agent_address>"
42+
POST_AGENT_ADDRESS = = "{{ .Agent.Address }}"
4343
LIMIT = 5
4444

4545
@agent.on_event("startup")

1-uagents/utility/weather-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class WeatherForecastResponse(Model):
4747

4848
agent = Agent()
4949

50-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
50+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
5151

5252
location = "London"
5353

1-uagents/utility/website-scraper-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class WebsiteScraperResponse(Model):
4242
agent = Agent()
4343

4444

45-
AI_AGENT_ADDRESS = "<deployed_agent_address>"
45+
AI_AGENT_ADDRESS = "{{ .Agent.Address }}"
4646

4747
website_url = "https://fetch.ai/"
4848

0 commit comments

Comments
 (0)