We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba827da commit 5cfb440Copy full SHA for 5cfb440
src/components/ContextChat/ContextChatOutputForm.vue
@@ -76,7 +76,7 @@ export default {
76
computed: {
77
sources() {
78
try {
79
- return JSON.parse(this.output.sources)
+ return this.output?.sources?.map(JSON.parse) ?? []
80
} catch (e) {
81
console.error('Failed to parse sources', e)
82
return []
0 commit comments