Oscar Lauge Hoffmann

Results 12 comments of Oscar Lauge Hoffmann

This streaming behavior is due to Azure content filtering. [https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/content-filter?tabs=warning%2Cpython](Azure Content filter) This can cause delay and is also a contributor to why the tokens are received in much larger...

I just save the string that the model output at the very end of my action.tsx ``` const result = await experimental_streamText({ model: anthropic('claude-3-opus-20240229'), maxTokens: 4000, temperature: 0, frequencyPenalty: 0.5,...

> @ravvi-kumar do you know how to map the response of `openai.beta.threads.messages.list` to the `useAssistant` hook's `messages` properly? > > ```tsx > const { setMessages } = useAssistant({ > //...

This is by design by microsoft Azure. The streaming response from Azure is delivered in small chunks/one sentence at a time. You need to create your own streaming method by...

``` 'use client'; import React, { useState, useRef } from 'react'; const scrollToRef = useRef([]); const executeScroll = (index: number) => { scrollToRef.current[index]?.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); }; {courses.map((course,...

Can't you use const { mutate } = useSWRConfig(); ? or perhaps Reacts useOptimistic, startTransition ? I use these in combination with useSWR to do optimistic changes instanly clientside without...

Would it be possible to fix silly issue?? It have been reported one week ago and it seems like Supabase team are on vacation or something? `const originalWarn = console.warn.bind(console.warn);...

Ran into the same issue since version 0.0.183 but with @vercel/kv: npm ERR! @vercel/kv@"^1.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional @vercel/kv@"^0.2.3"...

> We have actively started doing the above - we will be factoring more and more integrations into their own packages/community and the current plan is to fully remove the...

Thanks for quick response! I have been using this and it seems to output the table structured as a table if i check the output. But if i apply a...