Skip to content

Need to make thinking_messages functional #1

Description

@V12Hero

Issue: Need to Make thinking_messages Functional

Problem

The thinking_messages defined in MyAgentFunctions are not being called in the assistant's responses. These messages are intended to be spoken when retrieving information but are not being used.

Expected Behavior

When the assistant needs to retrieve information (e.g., calling retrieve_info), it should output a random message from thinking_messages before providing the actual result.

Possible Cause

  • The thinking_messages list exists in MyAgentFunctions, but there is no reference in retrieve_info or other functions.
  • The function does not explicitly return or log these messages before retrieval.

Suggested Fix

  • Insert a step before the retrieval where one of the thinking_messages is logged and included in the assistant's response.
  • Ensure the assistant calls these messages appropriately, such as when a database lookup or an API call is in progress.

Files Affected:
📂 agent/main.py


Community Contribution Request

We encourage community members to contribute to this issue. Please comment or submit a pull request if you have suggestions or would like to implement/fix this functionality. Your input is greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions