Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlee64 committed Dec 11, 2024
1 parent aa8141d commit 3c2b1a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export const ChoicesViewCarousel = ({
};

return (

<ChoiceView
choice={choices[selectedChoiceIndex]}
isStructuredOutput={isStructuredOutput}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const PlaygroundChat = ({
setSettingsTab,
settingsTab,
}: PlaygroundChatProps) => {
console.log('playgroundStates', playgroundStates);
const [chatText, setChatText] = useState('');
const [isLoading, setIsLoading] = useState(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export const useChatFunctions = (
messageIndex: number,
newMessage: Message
) => {
console.log('editMessage', callIndex, messageIndex, newMessage);

setPlaygroundStateField(callIndex, 'traceCall', prevTraceCall => {
const newTraceCall = clearTraceCall(
cloneDeep(prevTraceCall as OptionalTraceCallSchema)
Expand Down Expand Up @@ -106,6 +108,7 @@ export const useChatFunctions = (
choiceIndex: number,
newChoice: Message
) => {
console.log('editChoice', callIndex, choiceIndex, newChoice);
setPlaygroundStateField(callIndex, 'traceCall', prevTraceCall => {
const newTraceCall = clearTraceCall(
cloneDeep(prevTraceCall as OptionalTraceCallSchema)
Expand Down

0 comments on commit 3c2b1a4

Please sign in to comment.