Skip to content

Commit

Permalink
chore: string expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
jrriehl committed Dec 5, 2024
1 parent d9fa362 commit 4498c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/src/uagents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ async def _handle_get_messages(_ctx: Context):

@self.on_rest_post("/prove", AgentverseConnectRequest, RegistrationResponse) # type: ignore
async def _handle_prove(_ctx: Context, token: AgentverseConnectRequest):
print(self._agentverse)
return await register_in_agentverse(
token, self._identity, self._endpoints, self._agentverse
)
Expand Down
2 changes: 1 addition & 1 deletion python/src/uagents/mailbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RegistrationRequest(BaseModel):

class RegistrationResponse(Model):
access_token: Optional[str] = None
expiry: Optional[datetime] = None
expiry: Optional[str] = None


class StoredEnvelope(BaseModel):
Expand Down

0 comments on commit 4498c39

Please sign in to comment.