mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 19:36:24 +02:00
add new test for tool_calls_rsp.
This commit is contained in:
parent
cff4eff78d
commit
0cc0a16e52
1 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,10 @@ class TestOpenAI:
|
|||
ChatCompletionMessage(
|
||||
content='"""python\nprint(\'hello world\')"""', role="assistant", tool_calls=None
|
||||
),
|
||||
ChatCompletionMessage(
|
||||
content="'''python\nprint(\"hello world\")'''", role="assistant", tool_calls=None
|
||||
),
|
||||
ChatCompletionMessage(content="```python\nprint('hello world')```", role="assistant", tool_calls=None),
|
||||
]
|
||||
)
|
||||
choices = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue