HamedMP / CursorLens

An open-source dashboard for Cursor.sh IDE. Log AI code generations, track usage, and control AI models (including local ones). Run locally or use upcoming hosted version.
https://www.cursorlens.com
GNU Affero General Public License v3.0
104 stars 11 forks source link

feat: setup t3-oss-env and refactor ai model client #6

Closed gruckion closed 4 weeks ago

gruckion commented 1 month ago
HamedMP commented 4 weeks ago

Really good, just need that .optional() in the end of all API key variables and it's good to 🚀

gruckion commented 4 weeks ago

Well spotted. I also addressed the warnings about the prisma global in this PR.

Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.ts(7017)
gruckion commented 4 weeks ago

Added optional()

gruckion commented 4 weeks ago

NOT tested yet!

gruckion commented 4 weeks ago

Tested all looks fine, please remove label and merge.