mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 18:36:22 +02:00
fix tests
This commit is contained in:
parent
637f04dd2a
commit
4e32ee120c
5 changed files with 24 additions and 24 deletions
|
|
@ -58,7 +58,7 @@ class GeminiGPTAPI(BaseLLM):
|
|||
genai.configure(api_key=config.gemini_api_key)
|
||||
|
||||
def _user_msg(self, msg: str) -> dict[str, str]:
|
||||
# Not to change BaseGPTAPI default functions but update with Gemini's conversation format.
|
||||
# Not to change BaseLLM default functions but update with Gemini's conversation format.
|
||||
# You should follow the format.
|
||||
return {"role": "user", "parts": [msg]}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue