style: fix formatting (biome)
This commit is contained in:
committed by
Peter Steinberger
parent
32affaee02
commit
d9960d83c1
@@ -222,7 +222,9 @@ function createStreamFnWithExtraParams(
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
log.debug(`creating streamFn wrapper with params: ${JSON.stringify(streamParams)}`);
|
log.debug(
|
||||||
|
`creating streamFn wrapper with params: ${JSON.stringify(streamParams)}`,
|
||||||
|
);
|
||||||
|
|
||||||
// Return a wrapper that merges our params with any passed options
|
// Return a wrapper that merges our params with any passed options
|
||||||
const wrappedStreamFn: StreamFn = (model, context, options) => {
|
const wrappedStreamFn: StreamFn = (model, context, options) => {
|
||||||
@@ -248,7 +250,12 @@ function applyExtraParamsToAgent(
|
|||||||
modelId: string,
|
modelId: string,
|
||||||
thinkLevel?: string,
|
thinkLevel?: string,
|
||||||
): void {
|
): void {
|
||||||
const extraParams = resolveExtraParams({ cfg, provider, modelId, thinkLevel });
|
const extraParams = resolveExtraParams({
|
||||||
|
cfg,
|
||||||
|
provider,
|
||||||
|
modelId,
|
||||||
|
thinkLevel,
|
||||||
|
});
|
||||||
const wrappedStreamFn = createStreamFnWithExtraParams(extraParams);
|
const wrappedStreamFn = createStreamFnWithExtraParams(extraParams);
|
||||||
|
|
||||||
if (wrappedStreamFn) {
|
if (wrappedStreamFn) {
|
||||||
|
|||||||
Reference in New Issue
Block a user