Skip to content

Commit

Permalink
release v0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
aisi-inspect committed May 7, 2024
1 parent 8406a69 commit b0443df
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.3.8 (07 May 2024)

- Exclude null config values from listings in log viewer.

## v0.3.7 (07 May 2024)

- Add support for logprobs to HF provider, and create uniform API for other providers that support logprobs (Together and OpenAI).
Expand Down
2 changes: 1 addition & 1 deletion src/inspect_ai/_cli/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def log(path: str, header_only: bool) -> None:
def log_file_headers(files: tuple[str]) -> None:
"""Read and print a JSON list of log file headers."""
headers = read_eval_log_headers(list(files))
print(dumps(to_jsonable_python(headers), indent=2))
print(dumps(to_jsonable_python(headers, exclude_none=True), indent=2))


@info_command.command("log-schema")
Expand Down
2 changes: 1 addition & 1 deletion src/inspect_ai/_cli/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def task_filter(task: TaskInfo) -> bool:

# print as JSON or plain text
if json:
print(dumps(to_jsonable_python(tasks), indent=2))
print(dumps(to_jsonable_python(tasks, exclude_none=True), indent=2))
else:
print("\n".join([f"{task.file}@{task.name}" for task in tasks]))

Expand Down
2 changes: 1 addition & 1 deletion tools/vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { inspectBinPath, inspectVersion } from "./inspect/props";

export const kInspectViewOutputChannelName = "Inspect View";
export const kInspectEnvironmentOutputChannelName = "Inspect Environment";
const kInspectMinimumVersion = "0.3.6";
const kInspectMinimumVersion = "0.3.8";

// This method is called when your extension is activated
// Your extension is activated the very first time the command is executed
Expand Down

0 comments on commit b0443df

Please sign in to comment.