Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Pydantic V2 #650

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"type": "python",
"request": "launch",
"module": "continuedev.models.generate_json_schema",
"justMyCode": true,
"justMyCode": false,
"cwd": "${workspaceFolder}/server"
},
{
Expand Down
4 changes: 2 additions & 2 deletions extensions/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "continue",
"icon": "media/icon.png",
"version": "0.6.9",
"version": "0.6.29",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"
Expand Down
3 changes: 1 addition & 2 deletions extensions/vscode/schema/ContextItem.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* and run json-schema-to-typescript to regenerate this file.
*/

export type ContextItem = ContextItem1;
export type Name = string;
export type Description = string;
export type ProviderTitle = string;
Expand All @@ -17,7 +16,7 @@ export type Editable = boolean;
/**
* A ContextItem is a single item that is stored in the ContextManager.
*/
export interface ContextItem1 {
export interface ContextItem {
description: ContextItemDescription;
content: Content;
editing?: Editing;
Expand Down
3 changes: 1 addition & 2 deletions extensions/vscode/schema/ContextItemId.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
* and run json-schema-to-typescript to regenerate this file.
*/

export type ContextItemId = ContextItemId1;
export type ProviderTitle = string;
export type ItemId = string;

/**
* A ContextItemId is a unique identifier for a ContextItem.
*/
export interface ContextItemId1 {
export interface ContextItemId {
provider_title: ProviderTitle;
item_id: ItemId;
[k: string]: unknown;
Expand Down
3 changes: 1 addition & 2 deletions extensions/vscode/schema/ContextProviderDescription.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
* and run json-schema-to-typescript to regenerate this file.
*/

export type ContextProviderDescription = ContextProviderDescription1;
export type Title = string;
export type DisplayTitle = string;
export type Description = string;
export type Dynamic = boolean;
export type RequiresQuery = boolean;

export interface ContextProviderDescription1 {
export interface ContextProviderDescription {
title: Title;
display_title: DisplayTitle;
description: Description;
Expand Down