File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ export async function POST(request: Request) {
117117 return createDataStreamResponse ( {
118118 execute : async ( dataStream ) => {
119119 const manualToolPart = extractMenualToolInvocationPart ( message ) ;
120- console . log ( { manualToolPart } ) ;
121120
122121 if ( toolChoice == "manual" && manualToolPart ) {
123122 const toolResult = await manualToolExecute ( manualToolPart ) ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const appStore = create<AppState & AppDispatch>()(
4040 name : "mc-app-store" ,
4141 partialize : ( state ) => ( {
4242 model : state . model || DEFAULT_MODEL ,
43- toolChoice : state . toolChoice ,
43+ toolChoice : state . toolChoice || "auto" ,
4444 } ) ,
4545 } ,
4646 ) ,
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ export default function ChatBot({
147147 behavior : "smooth" ,
148148 } ) ;
149149 }
150- appStoreMutate ( { toolChoice : "manual" } ) ;
151150 } , [ status ] ) ;
152151
153152 return (
You can’t perform that action at this time.
0 commit comments