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

AI required to support markdown #5423

Merged
merged 12 commits into from
Dec 2, 2024
2 changes: 1 addition & 1 deletion libs/remix-ui/remix-ai/src/lib/components/Default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Default = (props) => {
if (await props.plugin.call('remixAI', 'isChatRequestPending')){
response = await props.plugin.call('remixAI', 'ProcessChatRequestBuffer', GenerationParams);
} else {
response = await props.plugin.call('remixAI', 'solidity_answer', prompt, GenerationParams);
response = await props.plugin.call('remixAI', 'solidity_answer', prompt + "write all codes in this format ```(markdown language)```", GenerationParams);
}

if (GenerationParams.return_stream_response) HandleStreamResponse(response,
Expand Down