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!
Issue: Need to Make
thinking_messagesFunctionalProblem
The
thinking_messagesdefined inMyAgentFunctionsare 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 fromthinking_messagesbefore providing the actual result.Possible Cause
thinking_messageslist exists inMyAgentFunctions, but there is no reference inretrieve_infoor other functions.Suggested Fix
thinking_messagesis logged and included in the assistant's response.Files Affected:
📂
agent/main.pyCommunity 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!