Skip to content

Commit

Permalink
docs(playground): Improve commenting around playground store usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization committed Oct 15, 2024
1 parent 51fd8cb commit 748d041
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/store/playground/playgroundStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ export const createPlaygroundStore = (
operationType: "chat",
inputMode: "manual",
input: {
// select variablesValueCache and variableKeys from the input in order
// to capture the current value of all valid variables across all instances' prompts
// if you just select variablesValueCache, then you may display stale values
variablesValueCache: {
question: "",
},
Expand Down

0 comments on commit 748d041

Please sign in to comment.