Hacker News new | past | comments | ask | show | jobs | submit login

Gemini does not accept upload of TSX files, it says "File type unsupported"

You must rename your files to .tsx.txt THEN IT ACCEPTS THEM and works perfectly fine writing TSX code.

This is absolutely bananas. How can such a powerful coding engine have this behavior?




Where are you testing this? I'm able to upload tsx files on aistudio



Use aistudio.google.com


Fyi anything on AIStudio can be used for training and/or review, do not upload anything sensitive there.


Not applicable if you are a paying customer. Only applicable to free plans.

https://ai.google.dev/gemini-api/terms#data-use-paid

For unpaid services there is no difference between aistudio vs gemini.google.com. They will harvest your data.


I like using Gemini without an API key.


You don’t need a key for aistudio.


I'm not sure what you mean. I use Gemini there and have never seen or created an API key.

https://aistudio.google.com/prompts/new_chat




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: