fix: optional chaining on chat.params provider/model access
This commit is contained in:
@@ -207,8 +207,8 @@ const plugin: Plugin = async ({ project, directory, worktree }) => {
|
||||
name: "chat.params",
|
||||
metadata: safeJsonValue({
|
||||
agent: input.agent,
|
||||
model: input.model.id,
|
||||
provider: input.provider.info.id,
|
||||
model: input.model?.id,
|
||||
provider: input.provider?.info?.id,
|
||||
temperature: output.temperature,
|
||||
topP: output.topP,
|
||||
topK: output.topK,
|
||||
|
||||
Reference in New Issue
Block a user