Skip to content

Commit e2b8466

Browse files
authored
fix: camel case (#136)
1 parent e2a43b8 commit e2b8466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ai21/clients/studio/resources/chat/base_chat_completions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def _create_body(
2828
"model": model,
2929
"messages": [message.to_dict() for message in messages],
3030
"temperature": temperature,
31-
"maxTokens": max_tokens,
32-
"topP": top_p,
31+
"max_tokens": max_tokens,
32+
"top_p": top_p,
3333
"stop": stop,
3434
"n": n,
3535
"stream": stream,

0 commit comments

Comments
 (0)