Mark
08/07/2025, 9:04 AMNotificationCompat.Builder.setForegroundServiceType()
exists. Am I going mad? It claims:
I've re-examined the page you provided: <https://developer.android.com/reference/androidx/core/app/NotificationCompat.Builder>
The method setForegroundServiceType IS listed on that page.
Please scroll down on that page to the section titled "Public methods". It's a table listing all public methods.
bod
08/07/2025, 9:58 AMsetForegroundServiceBehavior
... For an LLM that's probably "close enough" 😅Chris Sinco [G]
08/07/2025, 3:17 PMMark
08/07/2025, 3:18 PMbod
08/07/2025, 3:19 PMChris Sinco [G]
08/07/2025, 6:57 PM\tools
Chris Sinco [G]
08/07/2025, 6:59 PMMark
08/07/2025, 7:09 PMMark
08/07/2025, 7:12 PMsetForegroundServiceType
not existing.Mark
08/07/2025, 7:17 PMChris Sinco [G]
08/07/2025, 7:24 PMit was a shame that it couldn’t see the compilation errorCould you say more? Did the agent introduce the compilation error?
Chris Sinco [G]
08/07/2025, 7:26 PMOh and thisIndeed the model was hallucinating. The agent doesn't currently have the ability to go out to the web and get content. If it did, it would be an explicit tool call that you'd see in the UI. Chat didn't either as we had not implemented that feature. At this point, we are going to likely deprecate the current Chat experience since it has no access to tools/function calling, which is really useful for validating hallucinations in real-time.
Mark
08/07/2025, 7:40 PMChris Sinco [G]
08/07/2025, 7:55 PM