devve2kcc
devve2kcc
Explore posts from servers
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
Hm craft seams very cool
15 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
yeah, i tested gemma 1b localy, and works pretty good, maybe i can fine tune it via google ai studio?
15 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
Now I know that it is possible to give certain orders to the model, so that it has a consistent output. But is it possible for it to learn from the user's "context", as if it were their assistant?
15 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
also the app will have some sort of a quick note system, and on the background i want that the AI to check all notes, and maybe the docs, and create connections between them, like obsidian graph
15 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
imagine, i supose that your are a dev, so you want to document your work, or you study about something, but you want to be very fast writting, you can leave spelling errors, write everything in plain text, without worrying about putting headings or bullet lists, and I want the AI ​​to, at the end of writing everything, or whenever you feel like it, click on the AI ​​Button, and that will read all you doc ​​and find the best and understandable way to organize your document, put headings, bullet lists, wrap code, maybe even improve the way explained
15 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
Seems good
15 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
I came across this model
15 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 4/3/2025 in #questions
Looking for AI models for my SAAS
15 replies
TTCTheo's Typesafe Cult
Created by Manqo on 3/23/2025 in #questions
Fetching User Session Data on the Client Side with useSession
On trpc, you mean like an private procidure? If session exists allow the procidure to happen if not, redirect ?
20 replies
TTCTheo's Typesafe Cult
Created by Manqo on 3/23/2025 in #questions
Fetching User Session Data on the Client Side with useSession
So what would be the simplest choice? Handle auth check on middleware and redirect? Or at page level? But for an saas that 99% of the routes are private, its a little repetitive doing it in all pages right?
20 replies
TTCTheo's Typesafe Cult
Created by Manqo on 3/23/2025 in #questions
Fetching User Session Data on the Client Side with useSession
@Manqo off topic question but why you do certain logic on the component it self? is not simplier to do certain logic on the middleare and handle all cases? and why you pass the user to DocumentTabs?
const { data: session, status } = useSession();
if (status === 'unauthenticated') {
router.push('/api/auth/signin');
return null;
}
const { data: session, status } = useSession();
if (status === 'unauthenticated') {
router.push('/api/auth/signin');
return null;
}
I'm not roasting, I'm just trying to understand the different ways people do this kind of thing. to understand what is be most common way. when using auth
20 replies
TTCTheo's Typesafe Cult
Created by beebae on 3/19/2025 in #questions
Final year project
What?
9 replies
TTCTheo's Typesafe Cult
Created by devve2kcc on 1/27/2025 in #questions
Next js server actions
No description
2 replies
HHono
Created by devve2kcc on 1/16/2025 in #help
Problem passing jwt token by rpc
6 replies
HHono
Created by devve2kcc on 1/16/2025 in #help
Problem passing jwt token by rpc
const response = await client.api.summary.$get(undefined, {
headers: {
Authorization: `Bearer ${token ?? ''}`
}
});
const response = await client.api.summary.$get(undefined, {
headers: {
Authorization: `Bearer ${token ?? ''}`
}
});
i do not belive, 5h trywing to find the issue, and now i find in a github issue, is just put undefined before passing headers...
6 replies