mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-02 10:03:15 +00:00
feat: shared and pinning agents + fix for streaming tools
This commit is contained in:
@@ -285,9 +285,7 @@ export const conversationSlice = createSlice({
|
||||
action: PayloadAction<{ index: number; query: Partial<Query> }>,
|
||||
) {
|
||||
const { index, query } = action.payload;
|
||||
if (!state.queries[index].tool_calls) {
|
||||
state.queries[index].tool_calls = query?.tool_calls;
|
||||
}
|
||||
state.queries[index].tool_calls = query?.tool_calls ?? [];
|
||||
},
|
||||
updateQuery(
|
||||
state,
|
||||
|
||||
Reference in New Issue
Block a user