Add copilot input log

This commit is contained in:
akhisud3195 2025-05-13 12:07:37 +05:30
parent 1230f4f25c
commit a3e9431240

View file

@ -119,7 +119,7 @@ User: {last_message.content}
updated_msgs = [{"role": "system", "content": sys_prompt}] + [
message.model_dump() for message in messages
]
print(f"Input to copilot chat completions: {updated_msgs}")
return completions_client.chat.completions.create(
model=PROVIDER_COPILOT_MODEL,
messages=updated_msgs,