feat: Running tasks and steps UI (#165)

This commit is contained in:
Salih Altun
2024-04-07 21:52:59 +03:00
committed by GitHub
parent 112b44e41a
commit 533ed32d9c
32 changed files with 1523 additions and 225 deletions

View File

@@ -1,4 +1,4 @@
import { apiBaseUrl, credential } from "@/util/env";
import { apiBaseUrl, artifactApiBaseUrl, credential } from "@/util/env";
import axios from "axios";
const client = axios.create({
@@ -9,4 +9,8 @@ const client = axios.create({
},
});
export { client };
const artifactApiClient = axios.create({
baseURL: artifactApiBaseUrl,
});
export { client, artifactApiClient };

View File

@@ -1,6 +1,14 @@
export const ArtifactType = {
Recording: "recording",
ActionScreenshot: "screenshot_action",
LLMScreenshot: "screenshot_llm",
LLMResponseRaw: "llm_response",
LLMResponseParsed: "llm_response_parsed",
VisibleElementsTree: "visible_elements_tree",
VisibleElementsTreeTrimmed: "visible_elements_tree_trimmed",
LLMPrompt: "llm_prompt",
LLMRequest: "llm_request",
HTMLScrape: "html_scrape",
} as const;
export const Status = {