Skip to content

Conversation

@jakehwll
Copy link
Contributor

@jakehwll jakehwll commented Dec 18, 2025

This pull-request implements prettier printing of the JSON Codeblocks for Token Usages Metadata. We're trying to globalise on using the light+/dark+ themes by default to be inline with our inline editors. To ensure that this stays globalised as we continue to develop this we're introducing a new <Codeblock /> component which has the logic for the theme and style for light/dark modes.

Position Pull-request
fix: improve AI Bridge request logs UI/UX
feat: add AI Bridge request logs model filter
chore!: promote AIBridge from ExperimentalHandler
feat: implement request log collapsing prompt (<RequestLogsPrompt />)
feat: add <SyntaxHighlighter /> for AI Bridge Token Usages Metadata

@jakehwll
Copy link
Contributor Author

jakehwll commented Dec 18, 2025

We're currently experiencing some funny feedback when attempting to use react-syntax-highlighter. The vscDarkPlus theme does exists and renders fine however on Light Theme displays this doesn't play as nicely as there is no vscLightPlus equivalent. I ran with vs for the example below but we may want to reconsider using dracula (and its friend darcula to work around this for the time-being.

For reference, see AVAILABLE_STYLES_PRISM.md upstream for the available themes.

ai-bridge-codeblock-component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants