ai-plugin-template icon indicating copy to clipboard operation
ai-plugin-template copied to clipboard

An example of making a Figma plugin that talks to OpenAI GPT models.

Results 7 ai-plugin-template issues
Sort by recently updated
recently updated
newest added

``` useEffect(() => { const temp = async () => { figmaAPI.run(async (figma) => { console.log("figma api"); }); }; temp(); }, []); ```

I want to use third party lib inside `figmaAPI` if i try to access it throws me below error ```red figmaAPI.ts:60 Uncaught (in promise) Error: _figma_plugin_helpers__WEBPACK_IMPORTED_MODULE_6__ is not defined at...

Since the openai library has been using fetch since v4, I think it would be better to use openai version 4 without the need for openai-edge. If it is not...

Bumps [next](https://github.com/vercel/next.js) from 13.4.10 to 13.5.0. Release notes Sourced from next's releases. v13.4.20-canary.41 Core Changes Add mui-core to the default optimizePackageImports list: #55554 Consolidate experimental React opt-in & add ppr...

dependencies

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.26 to 8.4.31. Release notes Sourced from postcss's releases. 8.4.31 Fixed \r parsing to fix CVE-2023-44270. 8.4.30 Improved source map performance (by @​romainmenke). 8.4.29 Fixed Node#source.offset (by...

dependencies

The Vercel deployment instructions include a trailing slash, which causes the origin checks in onmessage (dd2b2c59183b39903ef264616d8b3f862a7435df) to fail due to `props.origin` not including this trailing slash. This causes the onmessage...

Everything works locally, but when I'm using the live Vercel URL instead of localhost, but nothing happens after posting messages, and I don't see any errors being logged. https://github.com/klyap/figma-semantic-font-search/blob/main/plugin/manifest.json I'm...