codezz
codezz
TTCTheo's Typesafe Cult
Created by a.girl.hates.everyone on 1/25/2025 in #questions
"Favourite"/Pinned replies on t3.chat
That's a good feature that I'm looking forward too! The T3 Chat channel is #t3-chat, although in order to always see it in the sidebar I had to right click on it and select add to channel list.
5 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
Time to move to JavaScript lol
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
the web version of postman, to clarify
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
I tried to use it, but then I remembered that I'm using postman for testing, so I couldn't use 127.0.0.1.
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
No description
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
lol
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
and now I have to use prompt
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
maybe messages isn't supported anymore?
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
I got into a wrangler tail console, and this is what I got from the worker:
@ 28/5/2024, 21:48:32
(log) Model: @cf/tinyllama/tinyllama-1.1b-chat-v1.0 ---> debug console.log
(error) AiError: 5006: must have required property 'prompt', must be boolean, must be array, must be boolean, must match exactly one schema in oneOf
@ 28/5/2024, 21:48:32
(log) Model: @cf/tinyllama/tinyllama-1.1b-chat-v1.0 ---> debug console.log
(error) AiError: 5006: must have required property 'prompt', must be boolean, must be array, must be boolean, must match exactly one schema in oneOf
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
edit: stream is a boolean constant that I set to false, I edited it for clarity
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
I don't even look for messages from the user because I need it to work first lol
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
and after that I have a return c.json({ response: answer })
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
const answer = await c.env.AI.run('@cf/tinyllama/tinyllama-1.1b-chat-v1.0', {
messages: [
{
role: "system",
content: `[very large system prompt]`
},
{
role: "user",
content: `How many pounds of food does a person eat in a year?`
}
],
stream: false
})
const answer = await c.env.AI.run('@cf/tinyllama/tinyllama-1.1b-chat-v1.0', {
messages: [
{
role: "system",
content: `[very large system prompt]`
},
{
role: "user",
content: `How many pounds of food does a person eat in a year?`
}
],
stream: false
})
this is literally everything
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
sure, one moment
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
but TypeScript says it shouldn't
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
if I deploy the code it just works????
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
okay this is weird
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
yeah i'm on the latest version
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
just updated
34 replies
CDCloudflare Developers
Created by codezz on 5/29/2024 in #workers-ai
Hi, I have a problem with Cloudflare
okay now the function is working, but Typescript says that '@cf/tinyllama/tinyllama-1.1b-chat-v1.0' (example model) isn't any of the posible models (""@cf/unum/uform-gen2-qwen-500m" | "@cf/llava-hf/llava-1.5-7b-hf"")
34 replies