fix(omp): avoid unsupported calculateCost import

Fix OMP installation by removing the unsupported calculateCost runtime import from pi-ai.
This commit is contained in:
Patrick Wozniak
2026-07-05 03:10:02 +02:00
committed by GitHub
parent 0f6fc17816
commit e123e84116
7 changed files with 135 additions and 4 deletions
+8
View File
@@ -50,11 +50,19 @@ export interface AssistantMessageLike {
timestamp: number
}
export interface ModelCost {
input: number
output: number
cacheRead: number
cacheWrite: number
}
export interface ModelLike {
id: string
api: unknown
provider: string
maxTokens: number
cost: ModelCost
}
export interface MessageLike {