Skip to content

Commit

Permalink
Fixes bug if AnsweredQuestions comes back as null it cannot parse
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikodin committed Jan 25, 2025
1 parent 3e2c111 commit f5133ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/openAiUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export async function summarizeTranscript(
answeredQuestions: z
.string()
.optional()
.nullable()
.describe(
`If the user says "Hey Scribe" or alludes to you, asking you to do something, answer the question or do the ask and put the answers here
Put the text in markdown, it will be nested under an h2 tag, so use a tag less than that for headers
Expand Down

0 comments on commit f5133ca

Please sign in to comment.