Skip to content

Commit

Permalink
docs(playground): Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization committed Oct 14, 2024
1 parent 1626d7d commit 2693d01
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 @@ -88,6 +88,9 @@ export const createPlaygroundStore = (
operationType: "chat",
inputMode: "manual",
input: {
// TODO(apowell): When implementing variable forms, we should maintain a separate
// map of variableName to variableValue. This will allow us to "cache" variable values
// as the user types and will prevent data loss if users accidentally change the variable name
variables: {
// TODO(apowell): This is hardcoded based on the default chat template
// Instead we should calculate this based on the template on store creation
Expand Down

0 comments on commit 2693d01

Please sign in to comment.