agentlabs-inc/agentlabs

AttributeError: 'Agent' object has no attribute 'request_login'

Closed this issue · 5 comments

Hi @kevinpiac @aurelien-brabant , is the login feature implemented for python sdk?
I am trying to implement something similar to your chat-with-rust-book example and would like to enforce login

I get AttributeError: 'Agent' object has no attribute 'request_login' when tried with below code snippet

# in main
ferris = agentlabs.agent(env.agent_id)

# in handle_chat_message
ferris.request_login(
            conversation_id=message.conversation_id,
            text="Please login to access this feature"
            )

Hi @hitz02!

Thanks for reporting this. It's right, the documentation is a bit ahead of our codebase. The Python SDK currently does not support this feature.

Good news though, we're going to ship it today or tomorrow :)

I will keep you updated here!

Thanks for the update @kevinpiac, any update on paywall feature to monetize agents?

Thanks for the update @kevinpiac, any update on paywall feature to monetize agents?
This feature is in our roadmap but our main focus at the moment is to provide a production ready interface.
But I would love to know more about your usecase if you dm me on discord or email (devin[at]agentlabs.dev) :)

I close the issue since it has been implemented and merge in v0.0.75 a few hours ago.

If you use the request_login method, be sure to configure properly the authentication methods from your dashboard console.

:)

Thanks for releasing a new update, and I've DM'ed you on Discord

Also, can you share a simple e2e example on how to use request_login ?