Skip to content

Commit

Permalink
fix: make sure show outputs works after namespaces (#230)
Browse files Browse the repository at this point in the history
* feat: add namespaces

* feat: add namespaces

* feat: add namespaces

* fix: show outputs needs to read intermediates correctly

* fix: show outputs needs to read intermediates correctly
  • Loading branch information
shreyashankar authored Dec 4, 2024
1 parent 82a2102 commit 0047d50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions website/src/app/api/getInputOutput/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ export async function POST(request: Request) {

const homeDir = process.env.DOCETL_HOME_DIR || os.homedir();
const { inputPath, outputPath } = generatePipelineConfig(
namespace,
default_model,
data,
operations,
operation_id,
name,
homeDir,
sample_size,
namespace
sample_size
);

// Check if inputPath exists
Expand Down
2 changes: 1 addition & 1 deletion website/src/app/api/getPipelineConfig/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ export async function POST(request: Request) {
const homeDir = process.env.DOCETL_HOME_DIR || os.homedir();

const { yamlString } = generatePipelineConfig(
namespace,
default_model,
data,
operations,
operation_id,
name,
homeDir,
sample_size,
namespace,
system_prompt
);

Expand Down

0 comments on commit 0047d50

Please sign in to comment.