mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-28 01:46:23 +02:00
improve request logging
This commit is contained in:
parent
349992f558
commit
4b5c0fffb1
4 changed files with 10 additions and 7 deletions
|
|
@ -540,7 +540,6 @@ User: {last_message.content}
|
|||
updated_msgs = [{"role": "system", "content": sys_prompt}] + [
|
||||
message.model_dump() for message in messages
|
||||
]
|
||||
print(json.dumps(updated_msgs, indent=2))
|
||||
|
||||
response = openai_client.chat.completions.create(
|
||||
model=MODEL_NAME,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue