fix: Date fix on chat #309
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This PR updates the date formatting logic to ensure consistency between the chat response (e.g., HR Agent message) and the left panel UI.
This pull request enhances the backend functionality by adding user locale support across multiple endpoints and agents. It introduces new parameters, methods, and logic to handle locale-specific preferences, ensuring a more personalized user experience. Additionally, it includes utility improvements like generating agent tool lists and refining agent behavior.
Enhancements to Locale Support:
user_localeparameter to multiple endpoints (input_task_endpoint,human_feedback_endpoint,approve_step_endpoint) to handle locale preferences./api/tasksendpoint to demonstrate locale-specific task handling, including HR and product-related operations.Utilities and Tooling:
GroupChatManagerto storeuser_localeand utilize it for locale-specific operations. (`[src/backend/kernel_agents/group_chat_manager.pyCode Refinements:
handle_action_requestmethods inBaseAgentandGenericAgentto accept additional keyword arguments likeuser_locale, improving extensibility.Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information