bra1nDump / show-me-chatgpt-plugin

Create and edit diagrams in ChatGPT
https://showme.redstarplugin.com
674 stars 71 forks source link

feat: add a new parameter to the api and some other changes #17

Closed oscaramos closed 1 year ago

oscaramos commented 1 year ago

Description of commits

feat: add a new parameter to the API - topic

Solves #6

Example: image

feat: add a new parameter to the API - diagramType:

Helpful to recognize the diagram type instead of getting it in the backend like the mermaidDiagramType function, This will reduce the effort to recognize each diagram type of each language. image

fix: editDiagramOnline link does not work

When I solved #1 I did not notice that I broke the edit diagram link. When it is opened shows: image

fix: sometimes chatgpt confuses the answer of editDiagramOnline

Sometimes the plugin shows both cases of when editDiagramOnline is available or not image