Show prompt diff when changing models (#76)

* Make CompareFunctions more configurable

* Change RefinePromptModal styles

* Accept newModel in getModifiedPromptFn

* Show prompt comparison in SelectModelModal

* Pass variant to SelectModelModal

* Update instructions

* Properly use isDisabled
This commit is contained in:
arcticfly
2023-07-20 23:26:49 -07:00
committed by GitHub
parent 55c697223e
commit a180b5bef2
7 changed files with 123 additions and 80 deletions

View File

@@ -56,7 +56,6 @@ export const CustomInstructionsInput = ({
minW="unset"
size="sm"
onClick={() => onSubmit()}
disabled={!instructions}
variant={instructions ? "solid" : "ghost"}
mr={4}
borderRadius="8"