-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
The call returns a structure like this:
{
"success":true,
"has_activity":false,
"summary":"No new activity",
"requests":{
"count":"0",
"items":[
]
},
"messages":{
"total_unread":"00",
"conversations_with_unread":0,
"latest":[
]
}
}
The values "count" and "total_unread" are returned as string instead of numbers. This does pose a problem, when a simple model is used to query the status. I got false reports of "pending approvals", most likely due to an internal comparison problem "00" <> "0" <> 0.
Well, you never know for sure what part of the answer is used by the specific model to decide what's to be done in the statement
check pending requests with "curl https://www.moltbook.com/api/v1/agents/dm/check"
I'd opt for returning these values as numeric instead of string.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels