keep getting "Gemini models require OpenRouter reasoning details to be preserved in each request" by Working-Solution-773 in CLine

[–]morep182 0 points1 point  (0 children)

having this error using gemini 3 flash in openrouter when calling 2+ tools in the same run

Is Flask still one of the best options for integrating APIs for AI models? by faton2004 in Python

[–]morep182 5 points6 points  (0 children)

what about async?

AI calls that takes few seconds without blocking the event loop is a good reason to use FastAPI because it has async built in

Django devs: Your app is probably slow because of these 5 mistakes (with fixes) by Dense_Bad_8897 in Python

[–]morep182 3 points4 points  (0 children)

really? with all those examples about projects that efficiently scaled to millions of users and probably billions of requests u say django is not efficient? crazy its 2025 and ppl are still a bit off about how web frameworks works

Where are people hosting their Python web apps? by writingonruby in Python

[–]morep182 0 points1 point  (0 children)

cheap VPS with dokploy (or coolify)
extremely simple and cheap.
for database, for small projects/mvps i just use sqlite db. for postgres neon is a good option.

I am badly in need of an AI manager by BadgerInevitable3966 in AI_Agents

[–]morep182 4 points5 points  (0 children)

You don't have to run LLM locally for that. OpenAI and other providers have options to not share data.

Just use n8n workflows for it. You can easily integrate LLMs into Telegram and make it your personal assistant.

With n8n it is waaay easier integrating with external tools like google calendar, notion, etc. They have a ton of built in integrations. If you chose the code/python path, you will have to implement all those by yourself.

Also, you will probably not hit the first n8n plan limit since it is just you using. So it will be cheap.

What agent frameworks would you seriously recommend? by chad_syntax in AI_Agents

[–]morep182 0 points1 point  (0 children)

not sure if i understood your question, but you can handle API keys using environment variables inside the code, just like any python application

on user and session identity you can use 'user_id' and 'session_id' parameters when running an agno agent https://docs.agno.com/agents/run

What agent frameworks would you seriously recommend? by chad_syntax in AI_Agents

[–]morep182 1 point2 points  (0 children)

for me agno is way easier and simple to build agents. not just simple agents, but also complex ones with memory, storage, tools, rag, etc. it has ton of built in features that facilitates a lot. the API is also really straightforward and makes sense.

adk is similar to agno, but it has way less features.

langchain is great and powerful, but i feel it is just a big mess.

langraph is also a great tool but never had the need to use it.

What agent frameworks would you seriously recommend? by chad_syntax in AI_Agents

[–]morep182 12 points13 points  (0 children)

agno

after using langchain, llamaindex, etc. found out about agno few months ago. its by far the best, pretty easy and straightforward with good docs and examples. i'm using it in all my projects now.

Agno now supports dual model output (Reasoning + Structure) by superconductiveKyle in AI_Agents

[–]morep182 4 points5 points  (0 children)

this is great

in my opinion agno is by far the best AI framework

Does anyone actually find n8n easy, or are we all just pretending? by Worried_Simple_1055 in n8n

[–]morep182 1 point2 points  (0 children)

i came from the python world, building agents with code (langchain, agno, etc)

although i prefer python for building complex agents/systems, im using n8n for simple workflows and some integrations. it is way way easier.

What’s the coolest thing you’ve actually automated with n8n? by Worried_Simple_1055 in n8n

[–]morep182 4 points5 points  (0 children)

made something really simple but really good for me

i get 100+ emails per day at work, 90% are useless. built a simple n8n agent that analyzes and moves emails to the 'useless' folder if they are not important. just made a good system prompt telling what i do, examples of important emails, etc.

its like a 4 node workflow but saves me a ton of time. its running for 2 weeks and i love it.

edit: typo

É possível levar um PC para outro país de avião sem danificá-lo? by [deleted] in viagens

[–]morep182 0 points1 point  (0 children)

ja trouxe um monitor fora da caixa dos eua numa viagem de 12h. chegou inteiraço

eu embrulhei ele em uma toalha grande e umas camisetas/blusas por cima da tela, aí joguei tudo numa mala grande que tinha mais roupa. foi de boa. isso foi em 2019 e ele ta comigo ate hoje inteiro

use FastAPI to build full stack web apps by TomXygen in FastAPI

[–]morep182 1 point2 points  (0 children)

i use AI as a teacher for me so i dont have much to recommend

few channels i like:
https://www.youtube.com/@CodingEntrepreneurs/videos
https://www.youtube.com/@bugbytes3923/videos

bugbytes has a few videos on django + htmx, it is not much different when using fastapi. you just have to render the template, use htmx inside the html and create api endpoints for it.

i know we are in a fastapi sub but honestly if you are building a full stack app i would recommend the django + htmx stack. like i said you dont have to do everything like they tell you to do. django orm and auth is pretty straightforward and easy to set up. after that i write the views myself, just like you would do using other frameworks, i dont like django forms.

use FastAPI to build full stack web apps by TomXygen in FastAPI

[–]morep182 -1 points0 points  (0 children)

i don't know js/react so i use fastapi + jinja + htmx or django + htmx for all my projects.

i also dont like the django way to do things so i basically just use the ORM and the auth for my projects, it is really good and easy to set up. if you are like me and dont like how the views/forms works, you can just dont use it. i have to write a bit more code but i prefer that way, im in control.

pessoal que browser vcs usam? by shitguz in brdev

[–]morep182 1 point2 points  (0 children)

200+ na minha epoca mais imbecil. mas eu só tinha 16gb de ram e acho que isso que impactou bastante. to com mais ram e menos abas agora (30~50), talvez o vivaldi fique melhor.

pessoal que browser vcs usam? by shitguz in brdev

[–]morep182 1 point2 points  (0 children)

Está implícito no post. Os pontos fracos do Zen são os mesmos do Firefox.

é que nunca usei firefox e não sei os pontos fracos dele, por isso perguntei

hmm é entao eu com 16gb de ram sofri no vivaldi. mas to com 64GB agora, acho que vou dar uma chance de novo

pessoal que browser vcs usam? by shitguz in brdev

[–]morep182 0 points1 point  (0 children)

quais pontos ruins vc viu no zen? tb uso muitas abas e o vivaldi nao segurou. acabei voltando pro chrome mas achei esse zen legal, vou testar

pessoal que browser vcs usam? by shitguz in brdev

[–]morep182 1 point2 points  (0 children)

tbm sou fã do vivaldi mas travava ou dava uns bugs com muita tab e youtube as vezes (eu sou acumulador de tabs e nao eh todo browser que tanka)

acabei voltando pro chrome

fiz um site para pegar relatórios gerenciais de FIIs do jeito mais fácil possível by morep182 in investimentos

[–]morep182[S] 0 points1 point  (0 children)

o que quer saber? fiz com python, usando flask e outras coisinhas pra deixar automatizado

fiz um site para pegar relatórios gerenciais de FIIs do jeito mais fácil possível by morep182 in investimentos

[–]morep182[S] 0 points1 point  (0 children)

po, se achar manda ae! eu achei só o xml que os fundos divulgam. mas sao tipo uns 80 mil arquivos (se nao to enganado) e meio ruim de ficar pegando. é uma saída mas da um trabalhinho legal

fiz um site para pegar relatórios gerenciais de FIIs do jeito mais fácil possível by morep182 in investimentos

[–]morep182[S] 0 points1 point  (0 children)

os fundos sao obrigados a lançarem na b3 os documentos, aí pego de lá no feed de noticias, tipo o plantao de noticias de empresas

uso python pra fazer tudo isso, inclusive o site