mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 03:54:43 -07:00
feat(cli): Partial threading of AgentLoopContext. (#22978)
This commit is contained in:
@@ -423,7 +423,7 @@ describe('useSlashCommandProcessor', () => {
|
||||
expect(childAction).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
services: expect.objectContaining({
|
||||
config: mockConfig,
|
||||
agentContext: mockConfig,
|
||||
}),
|
||||
ui: expect.objectContaining({
|
||||
addItem: mockAddItem,
|
||||
|
||||
@@ -209,7 +209,7 @@ export const useSlashCommandProcessor = (
|
||||
const commandContext = useMemo(
|
||||
(): CommandContext => ({
|
||||
services: {
|
||||
config,
|
||||
agentContext: config,
|
||||
settings,
|
||||
git: gitService,
|
||||
logger,
|
||||
|
||||
Reference in New Issue
Block a user