We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddf1941 commit 99758caCopy full SHA for 99758ca
1 file changed
server/fastapi_server.py
@@ -292,8 +292,8 @@ async def run_agent(
292
293
# New user
294
if activity_tracker.get_activity_stats(agent_request.context.address).points == 0:
295
- if not portfolio.holdings:
296
- raise HTTPException(status_code=400, detail="Please use an existing wallet to start using the agent")
+ if portfolio.total_value_usd <= 100:
+ raise HTTPException(status_code=400, detail="Please use a funded wallet to start using the agent")
297
298
response = await handle_agent_chat_request(
299
token_metadata_repo=token_metadata_repo,
0 commit comments