-
Notifications
You must be signed in to change notification settings - Fork 246
feat: improve types and deprecate old API #1744
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
Conversation
geclos
commented
Sep 29, 2025
- Deprecates APIs v1 and v2
- Improves type checking performance through several optimizations
- Removes compiler packages
- Removes static type generation
8397f2e
to
a9e5067
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about Now is removed 🔥packages/compiler
?
@@ -475,7 +469,7 @@ export type PromptSource = EvaluationV2 | DocumentRunPromptSource | |||
export type LatitudeToolDefinition = { | |||
name: LatitudeTool | |||
internalName: LatitudeToolInternalName | |||
definition: (context?: TelemetryContext) => Tool | |||
definition: (context?: any) => Tool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? We still need to import telemetry in core no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to limit telemetry import as much as possible so that next can tree shake
In - "@google-cloud/aiplatform": "^3.35.0",
- "llamaindex": "^0.8.37", It's ok? I comment here because files section on Github do not load I guess is because we don't care about the types for this instrumentations no? |
index 8104bb2c7..253c55c24 100644
--- a/packages/core/tsconfig.json
+++ b/packages/core/tsconfig.json
@@ -5,5 +5,16 @@
"jsx": "preserve"
},
"include": ["src", "drizzle.config.ts"],
- "exclude": ["node_modules", "dist"]
+ "exclude": [
+ "**/*.js",
+ "**/*.spec.*",
+ "**/*.test.*",
+ "dist",
+ "node_modules",
+ "src/**/__tests__/**",
+ "src/**/testHelper.ts",
+ "src/**/testHelpers/**",
+ "src/schema/schema.ts",
+ "src/tests/**"
+ ]
} We lost typescript in tests this way no? |
it's ok yes these 2 were big culprits of performance issues in telemetry package |
Yes, tradeoff between performance and type checking scope |
a9e5067
to
210b770
Compare
b0d9e9f
to
b7c2831
Compare
- Deprecates APIs v1 and v2 - Improves type checking performance through several optimizations - Removes compiler packages - Removes static type generation
669146d
to
6ea5fb8
Compare
6ea5fb8
to
2ed878b
Compare