bra1nDump / show-me-chatgpt-plugin

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

Error 400: OK #5

Closed ehammond closed 1 year ago

ehammond commented 1 year ago

GPT-4 generated this input:

{
  "mermaid": "graph TB\n  subgraph M[\"Microsoft\"]\n    A[\"Azure\"]\n    BC[\"Bing Chat\"]\n    BP[\"Bing Plugins\"]\n    A -- \"Hosts\" --> BC\n    BC -- \"Uses\" --> BP\n    M -- \"Invested in\" --> O\n    A -- \"Hosts\" --> O\n  end\n  subgraph O[\"OpenAI\"]\n    CG[\"ChatGPT\"]\n    G35[\"GPT-3.5\"]\n    G4[\"GPT-4\"]\n    OAPI[\"OpenAI API\"]\n    CP[\"ChatGPT Plugins\"]\n  end\n  subgraph C[\"Custom\"]\n    CA[\"Custom Apps\"]\n    CP2[\"Custom Plugins\"]\n  end\n  G35 -- \"Used by\" --> CG\n  G4 -- \"Used by\" --> CG\n  G35 -- \"Used by\" --> OAPI\n  G4 -- \"Used by\" --> OAPI\n  OAPI -- \"Used by\" --> CA\n  G4 -- \"Used by\" --> BC\n  CG -- \"Uses\" --> CP\n  CP -- \"Uses\" --> Z[\"Zapier\"]\n  CP -- \"Uses\" --> D[\"Diagram It\"]\n  CP -- \"Uses\" --> W[\"Wolfram\"]\n  BP -- \"Uses\" --> W\n  BP -- \"Uses\" --> BO[\"OpenTable\"]\n  Z -- \"Interacts with\" --> S[\"Slack\"]\n  Z -- \"Interacts with\" --> TW[\"The World\"]\n  style M fill:#cce5ff,stroke:#000000,stroke-width:2px\n  style A fill:#99ccff\n  style CG fill:#99cc99\n  style G35 fill:#99cc99\n  style G4 fill:#99cc99\n  style BC fill:#99ccff\n  style O fill:#ccffcc,stroke:#000000,stroke-width:2px\n  style OAPI fill:#99cc99\n  style CA fill:#ff99cc\n  style CP fill:#99cc99\n  style BP fill:#99ccff\n  style Z fill:#cccccc\n  style D fill:#cccccc\n  style CP2 fill:#ff99cc\n  style W fill:#cccccc\n  style BO fill:#cccccc\n  style S fill:#cccccc\n  style TW fill:#cccccc\n  style C fill:#ffe6f2,stroke:#ff99cc,stroke-width:2px"
}

resulting in this response:

{
  "results": [
    {
      "image": "https://showme.redstarplugin.com/s/ruC0vL1G",
      "editDiagramOnline": "https://showme.redstarplugin.com/s/tXEIGK9o",
      "contributeToOpenSourceProject": "https://github.com/bra1nDump/show-me-chatgpt-plugin/issues"
    }
  ]
}

which shows as "Error 400: OK"

Let me know if you need more info, or if you don't even need these reports because it's all in the logs already.

bra1nDump commented 1 year ago

Thank you for submitting the issue! We are using Kroki to render the diagram, so it might be we are exceeding the usage limits or the servers were unavailable. Will look into it. Appreciate the help!