Skip to content

Commit

Permalink
Fix insert_spaces type in codeium.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CnsMaple committed May 31, 2024
1 parent 81985fd commit 283e2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/codeium.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def complete(
"text": text,
"language": language,
},
"editor_options": {"insert_spaces": insert_spaces, "tab_size": tab_size},
"editor_options": {"insert_spaces": True if insert_spaces else False, "tab_size": tab_size},
}

self.dispatch(
Expand Down

0 comments on commit 283e2ca

Please sign in to comment.