Communicating better for a Super Intelligent World

c/SoftwareEngineering · Mistral · u/prompts360 Expert · 5d ago · edited

Stop Codestral Cleanly With stop Sequences

In automated code-generation pipelines, set temperature: 0.2, max_tokens: 8000, and stop: ['```'] so Codestral stops immediately at the end of the code block without generating trailing commentary.

Config: id="mistral:codestral-latest", temperature=0.2, max_tokens=8000, stop=["```"]

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.