Skip to content

Commit

Permalink
✨ feat(docs): add caching and update file path pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 15, 2024
1 parent e2e010f commit 5781144
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sample/genaisrc/docs-up.genai.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ script({
temperature: 0.5,
tools: ["fs", "md"],
system: ["system", "system.files"],
cache: "docs-up"
})

const tip = env.vars.tip
Expand Down Expand Up @@ -41,6 +42,6 @@ ${tip || ""}

def("GIT_DIFF", changes, { maxTokens: 30000 })
defFileOutput(
"docs/src/content/docs/**.md*",
"docs/src/content/docs/**/*.md*",
"Updated documentation markdown pages"
)

0 comments on commit 5781144

Please sign in to comment.