-
Notifications
You must be signed in to change notification settings - Fork 207
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
refactor(fx-core): scaffold question and generator refactor #13106
base: dev
Are you sure you want to change the base?
Conversation
…e/refactor-question
…e/refactor-question
… huajie/refactor-question
function checkDeclarativeCopilot(inputs: Inputs) { | ||
return inputs[QuestionNames.Capabilities] === CapabilityOptions.declarativeAgent().id; | ||
} | ||
export const specGenerator = new SpecGenerator(); |
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.
typo? I am guessing you want to export CopilotExtensionGenerator
import { TemplateNames } from "../templateNames"; | ||
import { Template } from "./interface"; | ||
|
||
export const copilotPluginTemplates: Template[] = [ |
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.
This data will be moved to me.ts
.
…into nintan/refactor
return TemplateNames.DefaultBot; | ||
} | ||
|
||
return undefined; |
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.
missing Declarative Agent? Need to make sure all templates are listed here, otherwise the single select list will b empty.
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.
data
property.activate
function.TODO: Refactor specGenerator to multiple generators in following PR.