fixing changes from merge

This commit is contained in:
Josh Knapp 2024-12-30 21:45:37 -08:00
parent 41b0173680
commit ff48937482

View File

@ -35,8 +35,6 @@ async def get_ai_response(prompt, channel_id=None, include_history=False, histor
messages.append({"role": "user", "content": prompt}) messages.append({"role": "user", "content": prompt})
response = client.chat.completions.create( response = client.chat.completions.create(
model=os.getenv('MODEL_NAME') or "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
messages=messages,
model=os.getenv('MODEL_NAME') or "us.anthropic.claude-3-5-sonnet-20241022-v2:0", model=os.getenv('MODEL_NAME') or "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
messages=messages, messages=messages,
temperature=0.7, temperature=0.7,