fix: Format

This commit is contained in:
bracesproul
2025-03-11 10:47:07 -07:00
parent fba43a47dd
commit b178270dc7
2 changed files with 8 additions and 6 deletions

View File

@@ -15,7 +15,9 @@ First, clone the repository, or run the [`npx` command](https://www.npmjs.com/pa
```bash ```bash
npx create-agent-chat-app npx create-agent-chat-app
``` ```
or or
```bash ```bash
git clone https://github.com/langchain-ai/agent-chat-ui.git git clone https://github.com/langchain-ai/agent-chat-ui.git

View File

@@ -394,13 +394,13 @@ export function InboxItemInput({
args: args:
Array.isArray(change) && Array.isArray(key) Array.isArray(change) && Array.isArray(key)
? { ? {
...response.args.args, ...response.args.args,
...Object.fromEntries(key.map((k, i) => [k, change[i]])), ...Object.fromEntries(key.map((k, i) => [k, change[i]])),
} }
: { : {
...response.args.args, ...response.args.args,
[key as string]: change as string, [key as string]: change as string,
}, },
}, },
}; };
if ( if (