API: move to api-version=2 for faster streaming LLM responses #21269
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 pnpm run test:unit --run:
vscode/src/chat/utils.test.ts#L30
AssertionError: expected { authenticated: true, …(8) } to strictly equal { …(9) }
- Expected
+ Received
Object {
"authenticated": true,
- "codyApiVersion": 1,
+ "codyApiVersion": 2,
"endpoint": "https://sourcegraph.com/",
"hasVerifiedEmail": true,
"isFireworksTracingEnabled": false,
"primaryEmail": "[email protected]",
"requiresVerifiedEmail": true,
"siteVersion": "999",
"username": "alice",
}
❯ src/chat/utils.test.ts:30:11
|
Run pnpm run test:unit --run:
agent/src/edit.test.ts#L117
Error: Snapshot `Edit > editCommand/code (generate new code) >
console.error(error)
===================================================[ NOTICE ]=======================================================
If you get PollyError or unexpected diff, you might need to update recordings to match your changes.
Run the following commands locally to update the recordings:
source agent/scripts/export-cody-http-recording-tokens.sh
pnpm update-agent-recordings
# Press 'u' to update the snapshots if the new behavior makes sense. It's
# normal that the LLM returns minor changes to the wording.
git commit -am "Update agent recordings"
More details in https://github.com/sourcegraph/cody/tree/main/agent#updating-the-polly-http-recordings
====================================================================================================================
1` mismatched
- Expected
+ Received
@@ -5,9 +5,10 @@
level?: number;
}
export const Heading: React.FC<HeadingProps> = ({ text, level = 1 }) => {
const HeadingTag = `h${level}` as keyof JSX.IntrinsicElements;
+
return <HeadingTag>{text}</HeadingTag>;
};
"
❯ src/edit.test.ts:117:42
|
Run pnpm run test:unit --run
Process completed with exit code 1.
|
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
|
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