Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add calendar tool calling support in iOSCalendarAssistantWithLocalInf #32

Open
cmodi-meta opened this issue Mar 21, 2025 · 1 comment
Open

Comments

@cmodi-meta
Copy link
Contributor

This works in the remote iOSCalendarAssistant project but does not work in the local-inference project. There may be some fixes needed in the localAgent and local tool calling process to address this.

Image
@jeffxtang
Copy link
Contributor

I did some debugging and found two separate issues. #1 is

         messages.append(Message(type: .actionItems))
         try await actionItems(prompt: text)

         try await callTools(prompt: text)

never run after summarizeConversation, which could be related to the calls inside runnerQueue.async. Issue #2 is after commenting out

          messages.append(Message(type: .summary))
          try await summarizeConversation(prompt: text)

         messages.append(Message(type: .actionItems))
         try await actionItems(prompt: text)

the callTools runs but the step.delta is, unlike the remote demo, always .text and not .tool_call, which could be the model related (different prompt may trigger the too_call).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants