We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Structure the output as a proper JSON object.
Instead of returning a template string with markdown formatting, consider returning a structured JSON object that can be formatted by the client.
Consider this structure:
- return `${results} - - ## Output Example: - ...` + return JSON.stringify({ + results: { + score: { + brewers: 9, + dodgers: 2 + }, + summary: results, + highlights: { + homeruns: ['Yelich'], + winningPitcher: 'J. Junis' + }, + sources: [ + 'https://website1.com/', + 'https://website2.com/' + ] + } + })
Committable suggestion skipped: line range outside the PR's diff.
Originally posted by @coderabbitai[bot] in #302 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Structure the output as a proper JSON object.
Instead of returning a template string with markdown formatting, consider returning a structured JSON object that can be formatted by the client.
Consider this structure:
Originally posted by @coderabbitai[bot] in #302 (comment)
The text was updated successfully, but these errors were encountered: