Skip to content

Support ad-hoc internal request with idle state recovery#428

Merged
uezo merged 3 commits intomasterfrom
develop
Jul 16, 2025
Merged

Support ad-hoc internal request with idle state recovery#428
uezo merged 3 commits intomasterfrom
develop

Conversation

@uezo
Copy link
Owner

@uezo uezo commented Jul 16, 2025

  • Introduced a mechanism to distinguish internal instructions from user utterances, preventing unintended conversational responses.
  • Prevented automatic transition to dialogue mode when internal instructions are issued.
  • Ensured the character returns to the idle state after executing internal instructions, maintaining natural interaction flow.
  • Improved the response flow after tool calls in AIAvatarKit, ensuring smoother and more contextually appropriate behavior.

uezo added 3 commits May 26, 2025 00:52
- Support ToolCallResult type from AIAvatarKit server
- Add handler for tool call progress (`HandleToolCall`)
- Fix bug where the last chunk from AIAvatarKit is ignored in some cases
Support request without showing message window.
Send request message start with the value of `BackgroundRequestPrefix`, the default value is `$`.

Example:
"$Start live casting with your self introduction."
Enable one-turn mode by setting endConversation on StartDialogAsync

After responding, the dialog ends immediately and returns to idle.
Use: DialogProcessor.StartDialogAsync(..., endConversation: true);
@uezo uezo merged commit 6f1a1e3 into master Jul 16, 2025
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

Successfully merging this pull request may close these issues.

1 participant