Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
fix bug with using enum as string
Abi Raja212aa228ab00
diff --git a/backend/llm.py b/backend/llm.pyindex dba57209..2c529e2a 100644--- a/backend/llm.py+++ b/backend/llm.py@@ -35,7 +35,12 @@ async def stream_openai_response(model = Llm.GPT_4_VISION# Base parameters- params = {"model": model, "messages": messages, "stream": True, "timeout": 600}+ params = {+ "model": model.value,+ "messages": messages,+ "stream": True,+ "timeout": 600,+ }# Add 'max_tokens' only if the model is a GPT4 vision modelif model == Llm.GPT_4_VISION: