Preventing LanguageModel Response from Ending with 'finishReason === tool-calls'

Greetings. Is there any way I can make the LanguageModel text response to not finish with finishReason === 'tool-calls'? I'd like to avoid sending another system message just to answer with the tool results.
Was this page helpful?