Skip to content

Commit

Permalink
The [refetch] button must be shown when there was an error in the inf…
Browse files Browse the repository at this point in the history
…erence call. + version info -> v0.6.2
  • Loading branch information
dezoito committed Oct 29, 2024
1 parent 50e7a99 commit 15b6787
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [Version 0.6.2] - 2024-10-29

### Fixed

- The "refetch" button must be shown when there was an error in the inference call.

## [Version 0.6.1] - 2024-10-28

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ollama-grid-search",
"private": true,
"version": "0.6.1",
"version": "0.6.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grid-search-desktop"
version = "0.6.1"
version = "0.6.2"
description = "A Tauri App to perform Grid Search and A/B testing experiments on LLMs"
authors = ["dezoito"]
license = "Whatever is in the repo"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"package": {
"productName": "ollama-grid-search",
"version": "0.6.1"
"version": "0.6.2"
},
"tauri": {
"allowlist": {
Expand Down
9 changes: 9 additions & 0 deletions src/components/results/iteration-result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@ export default function IterationResult(props: IProps) {
{query.error && (
<div className="whitespace-pre-wrap text-red-600 dark:text-red-600">
{query.error.toString()}

<Button
variant="ghost"
className="mt-1"
size="sm"
onClick={refetchCurrentQuery}
>
<ReloadIcon className="text-grey-700 h-4 w-4 dark:text-gray-400 " />
</Button>
</div>
)}

Expand Down
3 changes: 3 additions & 0 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ https://github.com/tauri-apps/plugins-workspace/tree/v1/plugins/single-instance
[ok] - Add colors to prompt and system_prompt when displaying inference params in results.
[ok] - Border colors are used on the side of a result to group outputs from the same model.

--- v0.6.2
[ok] - The "refetch" button must be shown when there was an error in the inference call.

---

- Add CI checks for typescript code (ESLint?)
Expand Down

0 comments on commit 15b6787

Please sign in to comment.