latitude-dev / latitude-llm

Latitude is the open-source prompt engineering platform to build, evaluate, and refine your prompts with AI
https://latitude.so
GNU Lesser General Public License v3.0
881 stars 57 forks source link

Different input localstorage key for playground param sources #627

Closed andresgutgon closed 4 days ago

andresgutgon commented 5 days ago

What?

We want independent input values depending on the tab the user uses to populate the prompt parameters. The old version without a different source should keep working as before because I duplicated the hook that will be removed when enabling the new UI for everyone.

image

TODO

[!NOTE]
This PR looks bigger than it is. I'm duplicating old input functionality to keep it working while we test all the changes. After all, a good big part of the code in this PR will be removed