Do not show an LLM response when we trigger a code search (#5662) #21716
Annotations
5 errors and 1 warning
Run google-github-actions/auth@v0
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/auth
|
Run google-github-actions/setup-gcloud@v0
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
Run pnpm run test:unit --run:
agent/src/index.test.ts#L487
AssertionError: expected [ …(5) ] to deeply equal [ …(2) ]
- Expected
+ Received
Array [
Object {
"chatID": "transcript1",
"transcript": Object {
"id": "transcript1",
"interactions": Array [
Object {
"assistantMessage": Object {
"speaker": "assistant",
"text": "Hello! How can I assist you today?",
},
"humanMessage": Object {
"speaker": "human",
"text": "Hello, Cody!",
},
},
Object {
"assistantMessage": Object {
"speaker": "assistant",
"text": "Of course! What do you need help with?",
},
"humanMessage": Object {
"speaker": "human",
"text": "Can you help me with my code?",
},
},
],
"lastInteractionTimestamp": "2023-10-01T12:00:00Z",
},
},
Object {
"chatID": "transcript2",
"transcript": Object {
"id": "transcript2",
"interactions": Array [
Object {
"assistantMessage": Object {
"speaker": "assistant",
"text": "Lovely to meet you, Lars.",
},
"humanMessage": Object {
"speaker": "human",
"text": "My name is Lars Monsen.",
},
},
],
"lastInteractionTimestamp": "2023-10-02T08:30:00Z",
},
},
+ Object {
+ "chatID": "1997-08-02T16:04:00.000Z",
+ "transcript": Object {
+ "id": "1997-08-02T16:04:00.000Z",
+ "interactions": Array [
+ Object {
+ "assistantMessage": Object {
+ "model": "anthropic/claude-2.0",
+ "speaker": "assistant",
+ "text": " I'm Claude, an AI assistant created by Anthropic.",
+ },
+ "humanMessage": Object {
+ "contextFiles": Array [],
+ "speaker": "human",
+ "text": "What model are you?",
+ },
+ },
+ ],
+ "lastInteractionTimestamp": "1997-08-02T16:04:00.000Z",
+ },
+ },
+ Object {
+ "chatID": "1997-08-02T16:05:00.000Z",
+ "transcript": Object {
+ "id": "1997-08-02T16:05:00.000Z",
+ "interactions": Array [
+ Object {
+ "assistantMessage": Object {
+ "model": "anthropic/claude-2.0",
+ "speaker": "assistant",
+ "text": " I'm Claude, an AI assistant created by Anthropic.",
+ },
+ "humanMessage": Object {
+ "contextFiles": Array [],
+ "speaker": "human",
+ "text": "What model are you?",
+ },
+ },
+ ],
+ "lastInteractionTimestamp": "1997-08-02T16:05:00.000Z",
+ },
+ },
+ Object {
+ "chatID": "1997-08-02T16:06:00.000Z",
+ "transcript": Object {
+ "id": "1997-08-02T16:06:00.000Z",
+ "interactions": Array [
+ Object {
+ "assistantMessage": Object {
+ "model": "anthropic/claude-2.0",
+ "speaker": "assistant",
+ "text": " I'm Claude, an AI assistant created by Anthropic.",
+ },
+ "humanMessage": Object {
+ "contextFiles": Array [],
+ "speaker": "human",
+ "text": "What model are you?",
+ },
+ },
+ ],
+ "lastInteractionTimestamp": "1997-08-02T16:06:00.000Z",
+ },
+ },
]
❯ src/index.test.ts:487:30
|
Run pnpm run test:unit --run:
agent/src/index.test.ts#L880
Error: Snapshot `Agent > Commands > commands/explain 2` mismatched
❯ src/index.test.ts:880:76
|
Run pnpm run test:unit --run
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/auth@v0, google-github-actions/setup-gcloud@v0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading