Skip to content

Commit

Permalink
fix(viz): allow breaks in function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Jul 17, 2024
1 parent 82da9c1 commit d412d1b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions viz/src/components/messages/AssistantFunctionCall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ const isOpen = ref(true);
<p>Called {{ props.functionCall.name }}()...</p>
</div>
<div class="message-body" v-if="isOpen">
<kbd>{{ functionCall.arguments }}</kbd>
<kbd class="allow-wrap-anywhere">{{ functionCall.arguments }}</kbd>
</div>
</article>
</template>

<style scoped></style>
<style scoped>
.allow-wrap-anywhere {
overflow-wrap: anywhere;
}
</style>

0 comments on commit d412d1b

Please sign in to comment.