Function
mergeOptions
(target: Record<string, any>, source: Record<string, any> | undefined)
Source from the content-addressed store, hash-verified
| 51 | } |
| 52 | |
| 53 | const mergeOptions = (target: Record<string, any>, source: Record<string, any> | undefined): Record<string, any> => |
| 54 | mergeDeep(target, source ?? {}) as Record<string, any> |
| 55 | |
| 56 | export const prepare = Effect.fn("LLMRequestPrep.prepare")(function* (input: PrepareInput) { |
| 57 | const isOpenaiOauth = input.provider.id === "openai" && input.auth?.type === "oauth" |
Tested by
no test coverage detected