Change context paramenter to improve GPT

pull/4481/head
ioedeveloper 10 months ago
parent 2a1e3bd51a
commit 983497fe02
  1. 6
      apps/circuit-compiler/src/app/components/container.tsx

@ -69,7 +69,7 @@ export function Container () {
const message = `
solidity code: ${content}
error message: ${error}
context: ${JSON.stringify(report, null, 2)}
full circom error: ${JSON.stringify(report, null, 2)}
explain why the error occurred and how to fix it.
`
// @ts-ignore
@ -77,7 +77,7 @@ export function Container () {
} else {
const message = `
error message: ${error}
context: ${JSON.stringify(report, null, 2)}
full circom error: ${JSON.stringify(report, null, 2)}
explain why the error occurred and how to fix it.
`
// @ts-ignore
@ -87,7 +87,7 @@ export function Container () {
const error = report.message
const message = `
error message: ${error}
context: ${JSON.stringify(report, null, 2)}
full circom error: ${JSON.stringify(report, null, 2)}
explain why the error occurred and how to fix it.
`
// @ts-ignore

Loading…
Cancel
Save