Fix form AI creation bug + use gpt4 turbo with Json mode
This commit is contained in:
@@ -280,14 +280,9 @@ export default {
|
||||
form_slug: response.form.slug
|
||||
})
|
||||
this.displayFormModificationAlert(response)
|
||||
useRouter().push({
|
||||
name: 'forms-show',
|
||||
params: {
|
||||
slug: this.createdForm.slug,
|
||||
new_form: response.users_first_form
|
||||
}
|
||||
})
|
||||
useRouter().push({ name: 'forms-slug-show-share', params: { slug: this.createdFormSlug, new_form: response.users_first_form } })
|
||||
}).catch((error) => {
|
||||
console.error(error)
|
||||
if (error.response && error.response.status === 422) {
|
||||
this.validationErrorResponse = error.response
|
||||
this.showValidationErrors()
|
||||
|
||||
2
client/composables/useCrisp.js
vendored
2
client/composables/useCrisp.js
vendored
@@ -64,7 +64,7 @@ export const useCrisp = () => {
|
||||
|
||||
function pushEvent(event, data = {}) {
|
||||
if (!crisp) return
|
||||
crisp.pushEvent(event, data)
|
||||
crisp.session.pushEvent(event, data)
|
||||
}
|
||||
|
||||
function setSegments(segments, overwrite = false) {
|
||||
|
||||
Reference in New Issue
Block a user