Merge pull request #8948 from uinstinct/gpt-5-second-tool

fix: subsequent tool call args are empty for gpt-5
This commit is contained in:
Dallin Romney 2025-12-01 22:28:14 -08:00 • committed by GitHub
commit 305c55c7e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -598,7 +598,6 @@ export const sessionSlice = createSlice({
},
contextItems: [],
};
handleToolCallsInMessage(message, historyItem);
state.history.push(historyItem);
lastItem = state.history[state.history.length - 1];
lastMessage = lastItem.message;