jt6677
jt6677
The provided Auth UI code just does not work whatsoever. It did not mention @supabase/auth-helpers-react. If you cannot provide any working example, why bother to release this?
I added additional command in slash. slah comment is trigget by selectItem so you can add whatever command you need. 1. extract apis into different hooks ```typescript const { complete:...
It would look like this. (I turned off the markdown) 
> @jt6677 oooh very interesting – so you're basically streaming in responses without markdown, and then converting them to markdown once streaming is complete? > > Is it possible to...
It should be two calls; first option then post. Using my own api, the default useCompletion does not seem to handle the options correctly in vscode extention mode. It would...
https://github.com/BennyKok/novel-vscode/assets/62420169/396660d3-cb79-406f-b41e-aadf1d079166 It took me a couple of hours to get this. basically, I used Novel as a component instead of as a package, used a axios hook instead of ```useCompletion``
```js export const useAxiosCompletion = () => { const [isLoading, setIsLoading] = useState(false); const [completion, setCompletion] = useState(""); const headers = { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Credentials": "true", "Authorization": `Bearer ${authorization}`, };...
> I basically copied novel editor from node_moudles to src directory so I can modify how it handle api calls. I use my own end point which is basically the...
A lot of work still need to be done to parse the markdown correctly. Basically, cannot take openai response directly. We need to regex to determine what format it is...