mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-08 20:30:53 -07:00
robustness(core): static checks to validate history is immutable (#21228)
This commit is contained in:
@@ -31,7 +31,7 @@ export interface RoutingDecision {
|
||||
*/
|
||||
export interface RoutingContext {
|
||||
/** The full history of the conversation. */
|
||||
history: Content[];
|
||||
history: readonly Content[];
|
||||
/** The immediate request parts to be processed. */
|
||||
request: PartListUnion;
|
||||
/** An abort signal to cancel an LLM call during routing. */
|
||||
|
||||
Reference in New Issue
Block a user