Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Realiserad committed Apr 6, 2024
1 parent 1046501 commit 649986f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/_fish_ai_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_response(messages):
chat = model.start_chat(history=create_message_history(messages))
generation_config = GenerationConfig(
candidate_count=1,
temperature=float(config.get('temperature') or '0.2'))
temperature=float(get_config('temperature') or '0.2'))
response = (chat.send_message(generation_config=generation_config,
content=messages[-1].get('content'),
stream=False)
Expand Down

0 comments on commit 649986f

Please sign in to comment.