@@ -146,8 +146,8 @@ with Mistral(
146146
147147 res = mistral.chat.complete(model = " mistral-large-latest" , messages = [
148148 {
149- " content" : " Who is the best French painter? Answer in one short sentence." ,
150149 " role" : " user" ,
150+ " content" : " Who is the best French painter? Answer in one short sentence." ,
151151 },
152152 ], stream = False , response_format = {
153153 " type" : " text" ,
@@ -175,8 +175,8 @@ async def main():
175175
176176 res = await mistral.chat.complete_async(model = " mistral-large-latest" , messages = [
177177 {
178- " content" : " Who is the best French painter? Answer in one short sentence." ,
179178 " role" : " user" ,
179+ " content" : " Who is the best French painter? Answer in one short sentence." ,
180180 },
181181 ], stream = False , response_format = {
182182 " type" : " text" ,
@@ -254,8 +254,8 @@ with Mistral(
254254
255255 res = mistral.agents.complete(messages = [
256256 {
257- " content" : " Who is the best French painter? Answer in one short sentence." ,
258257 " role" : " user" ,
258+ " content" : " Who is the best French painter? Answer in one short sentence." ,
259259 },
260260 ], agent_id = " <id>" , stream = False , response_format = {
261261 " type" : " text" ,
@@ -283,8 +283,8 @@ async def main():
283283
284284 res = await mistral.agents.complete_async(messages = [
285285 {
286- " content" : " Who is the best French painter? Answer in one short sentence." ,
287286 " role" : " user" ,
287+ " content" : " Who is the best French painter? Answer in one short sentence." ,
288288 },
289289 ], agent_id = " <id>" , stream = False , response_format = {
290290 " type" : " text" ,
0 commit comments