-
Notifications
You must be signed in to change notification settings - Fork 78
chore(DATAGO-109457): pushing agents fetch to chat context #247
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
WhiteSource Policy Violation Summary✅︎ No Blocking Whitesource Policy Violations found in solaceai/solace-agent-mesh-ui-pr-247! |
WhiteSource Policy Violation Summary✅︎ No Blocking Whitesource Policy Violations found in solaceai/solace-agent-mesh-pr-247! |
|
| import reactHooks from 'eslint-plugin-react-hooks' | ||
| import reactRefresh from 'eslint-plugin-react-refresh' | ||
| import tseslint from 'typescript-eslint' | ||
| import js from "@eslint/js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only "prettified".
| @@ -1,11 +1,11 @@ | |||
| { | |||
| "name": "solace-agent-mesh-ui", | |||
| "name": "@SolaceLabs/solace-agent-mesh-ui", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correcting name.
| import { useChatContext } from "@/lib/hooks"; | ||
|
|
||
| interface MorePopoverProps { | ||
| interface ArtifactMorePopoverProps { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming component only.
| <Header | ||
| title="Agents" | ||
| buttons={[ | ||
| <Button variant="ghost" title="Refresh Agents" onClick={() => agentsRefetch()}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding refresh button to header.
| const latestStatusText = useRef<string | null>(null); | ||
| const sseEventSequenceRef = useRef<number>(0); | ||
|
|
||
| // Agents State |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushing agent fetch to chat context.





This PR pushes agent fetching to the chat context in order to:
It also adds a refresh agents button to the Agents page.
