Skip to content

Commit

Permalink
Fix layout issues with asciinema player (#1412)
Browse files Browse the repository at this point in the history
* Fix issues in asciicinema/lightbox

- memo to prevent unneeded rendering
- constrain lightbox contents to viewport

* Remove extraneous preact chars

* add changelog

* Improve tool input / output appearance when rendered in vscode

---------

Co-authored-by: jjallaire-aisi <[email protected]>
  • Loading branch information
dragonstyle and jjallaire-aisi authored Feb 26, 2025
1 parent f68a722 commit f914e68
Show file tree
Hide file tree
Showing 11 changed files with 818 additions and 740 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- Bugfix: Catch standard `TimeoutError` for running shell commands in the computer tool container.
- Bugfix: Fix audio and video inputs for new Google GenAI client.
- Bugfix: Ensure that token limits are not enforced during model graded scoring.
- Inspect View: Fix layout issues with human agent terminal session playback.
- Inspect View: Improve tool input / output appearance when rendered in VSCode.

## v0.3.70 (25 February 2025)

Expand Down
4 changes: 4 additions & 0 deletions src/inspect_ai/_view/www/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -805,15 +805,19 @@ table.table.table-sm td {
overflow: unset;
}

.markdown-content pre[class*="language-"],
pre[class*="language-"].tool-output,
.tool-output {
background-color: #f8f8f8;
}

.vscode-dark .markdown-content pre[class*="language-"],
.vscode-dark pre[class*="language-"].tool-output,
.vscode-dark .tool-output {
background-color: #333333;
}

.markdown-content pre[class*="language-"],
pre[class*="language-"].tool-output {
border: none !important;
box-shadow: none !important;
Expand Down
54 changes: 31 additions & 23 deletions src/inspect_ai/_view/www/dist/assets/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f914e68

Please sign in to comment.