这是indexloc提供的服务,不要输入任何密码
Skip to content

fix - groups marketplace wip v4 #8616

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

Conversation

JordiHigueraDT
Copy link
Collaborator

Summary

  • fix: resolve agent selection race condition in marketplace HandleStartChat
    • Set agent in localStorage before newConversation to prevent useSelectorEffects from auto-selecting previous agent
  • fix: resolve agent dropdown showing raw ID instead of agent info from URL
    • Add proactive agent fetching when agent_id is present in URL parameters
    • Inject fetched agent into agents cache so dropdowns display proper name/avatar
    • Use useAgentsMap dependency to ensure proper cache initialization timing
    • Prevents raw agent IDs from showing in UI when visiting shared agent links
  • Fix: Agents endpoint renamed to "My Agent" for less confusion with the Marketplace agents.

Change Type

Please delete any irrelevant options.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Translation update

Testing

Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.

Test Configuration:

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective or that my feature works
  • Local unit tests pass with my changes
  • Any changes dependent on mine have been merged and published in downstream modules.
  • A pull request for updating the documentation has been submitted.

Jordi Higuera jordi.higuera@daimlertruck.com on behalf of Daimler Truck AG.
Authored by A.B & P.G
Provider & Legal Notice | Daimler Truck
Copyright (c) {2025} Daimler Truck AG

Atef Bellaaj added 3 commits July 22, 2025 10:36
…tChat

- Set agent in localStorage before newConversation to prevent useSelectorEffects from auto-selecting previous agent
… URL

  - Add proactive agent fetching when agent_id is present in URL parameters
  - Inject fetched agent into agents cache so dropdowns display proper name/avatar
  - Use useAgentsMap dependency to ensure proper cache initialization timing
  - Prevents raw agent IDs from showing in UI when visiting shared agent links
@danny-avila
Copy link
Owner

cherry-picked commits here to #8641

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.

2 participants