MCPcopy Create free account
hub / github.com/Effect-TS/effect / OpenRouterLanguageModel.ts

File OpenRouterLanguageModel.ts

packages/ai/openrouter/src/OpenRouterLanguageModel.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * The `OpenRouterLanguageModel` module provides the OpenRouter implementation
3 * of Effect AI's `LanguageModel` service. It translates provider-neutral
4 * prompts, tools, files, structured output requests, reasoning metadata,

Callers

nothing calls this directly

Calls 15

resolveFinishReasonFunction · 0.90
getCodecTransformerFunction · 0.85
getBase64FromDataUrlFunction · 0.85
getMediaTypeFunction · 0.85
pushMethod · 0.80
upsertMethod · 0.80
filterMethod · 0.80
someMethod · 0.80
joinMethod · 0.80
annotateRequestFunction · 0.70
annotateResponseFunction · 0.70

Tested by

no test coverage detected