Skip to content

Commit

Permalink
fix: add http prefix when publishing manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
jrriehl committed Jul 19, 2023
1 parent ec7c252 commit 48c363c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uagents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def include(self, protocol: Protocol, publish_manifest: Optional[bool] = False):
def publish_manifest(self, manifest: Dict[str, Any]):
try:
resp = requests.post(
self._agentverse["base_url"] + "/v1/almanac/manifests",
f"{self._agentverse['http_prefix']}://{self._agentverse['base_url']}/v1/almanac/manifests",
json=manifest,
timeout=5,
)
Expand Down

0 comments on commit 48c363c

Please sign in to comment.