Skip to content

Commit

Permalink
fix: minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lynchee-owo committed Apr 3, 2024
1 parent 173e57d commit a0132a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/helpers/vision-agent/determineNavigateAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function determineNavigateAction(
for (let i = 0; i < maxAttempts; i++) {
try {
const completion = await fetchResponseFromModel(model, {
systemMessage(voiceMode),
systemMessage: systemMessage(voiceMode),
prompt,
jsonMode: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/vision-agent/determineNextAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export async function determineNextActionWithVision(
for (let i = 0; i < maxAttempts; i++) {
try {
const completion = await fetchResponseFromModel(model, {
systemMessage(voiceMode),
systemMessage: systemMessage(voiceMode),
prompt,
imageData: screenshotData,
jsonMode: true,
Expand Down

0 comments on commit a0132a4

Please sign in to comment.