fix: SAP AI Core Vercel AI SDK v2 support (#5180)

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
This commit is contained in:
Jérôme Benoit
2025-12-08 18:27:47 +01:00
committed by GitHub
parent e020f5355e
commit 52bb43eebd
3 changed files with 20 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import { Instance } from "../project/instance"
export namespace Env {
const state = Instance.state(() => {
return { ...process.env } as Record<string, string | undefined>
return process.env as Record<string, string | undefined>
})
export function get(key: string) {