mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-18 13:55:17 +02:00
fix tests
This commit is contained in:
parent
5c152a0b50
commit
7145f7dcf8
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