Skip to content

Commit 50df6e7

Browse files
fix: add instruction to create a CSS file when styles_css is used
1 parent 260da7d commit 50df6e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bot_cmds.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,9 @@ async def website(self, ctx, *, extra: str = ""):
784784
f"Also, take extra care of this extra instruction: {extra} \n"
785785
)
786786

787+
if content is styles_css:
788+
text += f"make a css file that matches >>>{index_html}<<<!\n"
789+
787790
try:
788791
llm_answer = get_groq_completion(
789792
[{"role": "user", "content": text}]

0 commit comments

Comments
 (0)