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

Make Generating Audio and Images Subactivities #1335

Merged
merged 5 commits into from
Dec 21, 2024
Merged

Make Generating Audio and Images Subactivities #1335

merged 5 commits into from
Dec 21, 2024

Conversation

Josh-XT
Copy link
Owner

@Josh-XT Josh-XT commented Dec 21, 2024

This pull request includes several changes aimed at improving the logging and response handling in the agixt/Interactions.py and agixt/Task.py files. The most important changes include updating log messages to include subactivity identifiers, refining the handling of text-to-speech responses, and ensuring proper formatting of responses that include generated images or audio.

Improvements to logging and response handling:

  • agixt/Interactions.py: Updated log messages to include subactivity identifiers for better tracking of activities and subactivities. [1] [2]
  • agixt/Interactions.py: Modified the handling of text-to-speech responses to extract the relevant answer portion and format the response correctly. [1] [2]
  • agixt/Interactions.py: Ensured that responses containing generated images are properly formatted and appended to the existing response.
  • agixt/Task.py: Added a new parameter to disable text-to-speech in the execute_pending_tasks method.

@Josh-XT Josh-XT marked this pull request as ready for review December 21, 2024 22:25
@Josh-XT Josh-XT merged commit f09685b into main Dec 21, 2024
5 checks passed
@Josh-XT Josh-XT deleted the issue-1334 branch December 21, 2024 22:25
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