Skip to content

Gemini response sometimes not valid json string, need to add back regex to match on json to remove extra characters #94

@drewg2009

Description

@drewg2009

@subhayand10 I remember you had this code working before I modified the prompt to try to remove the need for the json string matching regex.

However sometimes it still throws the error.

Could you add it back in?

Sorry about that, thanks!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    aibugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions