Skip to content

Commit

Permalink
Fix model check after type change
Browse files Browse the repository at this point in the history
  • Loading branch information
yaph committed Jun 27, 2024
1 parent 16d8664 commit 05808ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charla/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def main():
argv = parser.parse_args()

# Determine model
if (model := config.setting('model', argv.model)) is None:
if (model := config.setting('model', argv.model)) == '':
model = model_names[0]

context = [] # Store conversation history to make the model context aware
Expand Down

0 comments on commit 05808ed

Please sign in to comment.