-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
feat: add AI assistant to dokploy #1079
base: canary
Are you sure you want to change the base?
Conversation
<MonacoEditor | ||
height="200px" | ||
language="yaml" | ||
theme="vs-dark" | ||
value={templateInfo.details.dockerCompose} | ||
options={{ | ||
minimap: { enabled: false }, | ||
scrollBeyondLastLine: false, | ||
fontSize: 14, | ||
lineNumbers: "on", | ||
readOnly: true, | ||
wordWrap: "on", | ||
automaticLayout: true, | ||
}} | ||
/> |
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.
Use the component, instead of monaco editor
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.
do you have a code highlighter component?
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.
@kucherenko Sorry, this is the component
<CodeEditor
lineWrapping
value={data || "Empty"}
disabled
className="font-mono"
/>
"Sendgrid service opensource analogue", | ||
]; | ||
|
||
export function StepOne({ nextStep, setTemplateInfo, templateInfo }: any) { |
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.
We already have a package installed for stepps called @stepperize/react
we already use in the welcome-suscription.tsx
component you can take a look how is implemented to have an idea
Also can you use arrow functions instead of regular functions?
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.
Hi @Siumauricio,
I've addressed most of the comments from the review. Specifically, I removed Monaco and converted the functions to arrow functions. However, I wasn't able to work on the stepper due to time constraints as my Christmas holidays have ended.
Would it be possible to merge the changes without the stepper for now? I will add it to the technical debt list and prioritize fixing it as soon as I have the time.
Thank you for your understanding!
Description:
This pull request introduces new AI-related features to enhance the functionality of the Dokploy open-source project. Details of the changes are as follows:
Features Added:
AI Assistant for LLM-Generated Projects:
AI Settings:
Known Issues:
OpenAI API Exclusivity:
Dialogue UI Limitations: