Agam More
Results
51
comments of
Agam More
> 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)). > > const provider = createOpenRouter({ > apiKey: apiKey, > baseURL: process.env["OPEN_ROUTER_LOCAL_SERVER_PROXY"] ?? baseUrl, > fetch: modelName.startsWith("anthropic/") ?...