-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backend): Routes to retrieve agent secret
- Loading branch information
1 parent
c18578f
commit 9edcd7a
Showing
7 changed files
with
288 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[tool.poetry] | ||
name = "libertai-agents-backend" | ||
version = "0.1.0" | ||
description = "" | ||
description = "Backend to handle LibertAI agents registration and deployment" | ||
authors = ["LibertAI.io team <[email protected]>"] | ||
readme = "README.md" | ||
homepage = "https://libertai.io" | ||
|
@@ -13,8 +13,7 @@ package-mode = false | |
python = "^3.12" | ||
fastapi = { extras = ["standard"], version = "^0.115.2" } | ||
aleph-sdk-python = "^1.1.0" | ||
eciespy = "^0.4.2" | ||
libertai-utils = "^0.0.2" | ||
libertai-utils = "^0.0.5" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
mypy = "^1.12.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from datetime import date | ||
|
||
|
||
def get_view_agent_secret_message(agent_id: str) -> str: | ||
return f"I confirm that I want to view the secret key of my agent {agent_id} today ({date.today()})." |