Skip to content
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

[Security Solution] Security Assistant: context provider hooks #6

Conversation

andrew-goldstein
Copy link
Collaborator

  • adds hooks that provide context to the Security Assistant

@andrew-goldstein andrew-goldstein force-pushed the security-assistant-context-provider branch from a41d1ce to 4130e1f Compare May 10, 2023 10:56
Comment on lines +327 to +334
const autoRunOnOpen = async () => {
if (getAutoRunPrompt != null) {
const prompt = await getAutoRunPrompt();

setPromptText(prompt);
handleSendMessage();
}
};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌑

@spong spong merged commit 767523c into spong:security-assistant-playground May 10, 2023
@andrew-goldstein andrew-goldstein deleted the security-assistant-context-provider branch May 10, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants