Guillaume Sabran
Guillaume Sabran
I'm on 0.5.0, which was the latest 17h ago when I posted. Is this fixed in 0.6 ? My ai package is at 4.3.16 which is the latest
Not entirely sure, but I tried to bisect between what I have and your e2e test. I _think_ adding another message breaks it. Testing it here https://github.com/OpenRouterTeam/ai-sdk-provider/pull/68
Yeah I saw the e2e test was not running. Yes only the first message should be cached, but here none is cached, as the payload structure is flatten and Anthropic...
I'm using a custom `fetch` that writes the correct payload ([ref](https://github.com/getcmd-dev/cmd/blob/dd73a9aa13413c478bc1b6c9d3332b3f7482ee7f/local-server/src/server/providers/open-router.ts#L10-L14)). ```ts const provider = createOpenRouter({ apiKey: apiKey, baseURL: process.env["OPEN_ROUTER_LOCAL_SERVER_PROXY"] ?? baseUrl, fetch: modelName.startsWith("anthropic/") ? fetchAnthropicResponse : defaultFetch, }) ```...
I'm having the same issue without using VSCode. Could the SDK at least provide relevant debugging information? My `stderr` handler is just receiving the stack trace ``` Error executing Claude...
Interesting. Yes I noticed that linting was much slower if I didn't use different caches. ```bash # 0.7s mkdir -p .build/caches/swiftformat && swiftformat --config rules-header.swiftformat . && swiftformat --config rules.swiftformat...
My header rule is ``` # Exclude checkout directories for common package managers --exclude Carthage,Pods,.build,**/Module.swift,**/Package.swift,build # options --header Copyright ... # rules --rules fileHeader ``` The other one is similar...