Skip to content

Commit

Permalink
remove versionId uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Sep 30, 2024
1 parent aaeb0be commit 7dadfbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,10 @@ export class ArtifactTool implements BaseTool<ArtifactParameter> {

async call(input: ArtifactParameter) {
try {
const versionId = crypto.randomUUID();
const artifact = await this.generateArtifact(input.requirement);
const result = await this.executeArtifact(artifact);
console.log({ versionId, artifact, result });
return { versionId, artifact, result } as unknown as JSONValue;
console.log({ artifact, result });
return { artifact, result } as unknown as JSONValue;
} catch (error) {
return {};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ type ArtifactResult = {
};

export type ArtifactData = {
// versionId?: string;
artifact?: Artifact;
result?: ArtifactResult;
};
Expand Down

0 comments on commit 7dadfbd

Please sign in to comment.