mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-02 01:27:14 +00:00
chore(build): Fix typo and new pre-commit config (#987)
This commit is contained in:
@@ -95,7 +95,7 @@ def _transform_to_gemini_messages(
|
||||
assert user_prompt == "How are you?"
|
||||
assert gemini_hist == [
|
||||
{"role": "user", "parts": {"text": "Hello"}},
|
||||
{"role": "model", "parts": {"text": "Hi there!"}}
|
||||
{"role": "model", "parts": {"text": "Hi there!"}},
|
||||
]
|
||||
"""
|
||||
user_prompt, system_messages, history_messages = parse_model_messages(messages)
|
||||
|
Reference in New Issue
Block a user