mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 09:30:58 -07:00
feat(core): Wire up chat code path for model configs. (#12850)
This commit is contained in:
@@ -264,15 +264,15 @@ class Session {
|
||||
const functionCalls: FunctionCall[] = [];
|
||||
|
||||
try {
|
||||
const model = resolveModel(
|
||||
this.config.getModel(),
|
||||
this.config.isInFallbackMode(),
|
||||
);
|
||||
const responseStream = await chat.sendMessageStream(
|
||||
resolveModel(this.config.getModel(), this.config.isInFallbackMode()),
|
||||
{
|
||||
message: nextMessage?.parts ?? [],
|
||||
config: {
|
||||
abortSignal: pendingSend.signal,
|
||||
},
|
||||
},
|
||||
{ model },
|
||||
nextMessage?.parts ?? [],
|
||||
promptId,
|
||||
pendingSend.signal,
|
||||
);
|
||||
nextMessage = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user