Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/client/panels/configure-ai-run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ import { SingleTagList } from "../components/single-tag-list";
import { RowRange } from "../components/row-range";
import { getSheetHeaders, runBatchAI } from "../services";

export interface SavedState {
userPromptCols: string[];
driveFileCols: string[];
systemPromptCol: string;
outputCol: string;
rowRange?: { start: number; end: number };
}
export type SavedState = Required<Omit<RunConfig, "rowRange">> & Pick<RunConfig, "rowRange">;

export class ConfigureAIRunPanel implements Panel<Partial<RunConfig>, SavedState> {
private userPromptList: TagList | null = null;
Expand Down
10 changes: 5 additions & 5 deletions src/client/panels/tool-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ export class ToolListPanel implements Panel {
</div>
<div class="section">
<h3>Main Tools</h3>
<button id="btn-import-drive-links" class="tool-btn">
<span class="icon">📂</span> Import Drive Links
<button id="btn-recipes" class="tool-btn">
<span class="icon">🥞</span> Recipes
</button>
<button id="btn-run-ai" class="tool-btn">
<span class="icon">▶️</span> Run AI Inference
</button>
<button id="btn-recipes" class="tool-btn">
<span class="icon">🥞</span> Recipes
</button>
</div>
<div class="section">
<h3>Extras</h3>
<button id="btn-import-drive-links" class="tool-btn">
<span class="icon">📂</span> Import Drive Links
</button>
<button id="btn-sample-rows" class="tool-btn">
<span class="icon">🎲</span> Sample Rows
</button>
Expand Down