@ -289,11 +289,12 @@ export class AiService {
* OpenRouter is not covered by the zero data retention . The model gets no
* OpenRouter is not covered by the zero data retention . The model gets no
* tools and copies the asset , the account and the broker as printed , hence
* tools and copies the asset , the account and the broker as printed , hence
* the rows still have to be matched to asset profiles and accounts . The
* the rows still have to be matched to asset profiles and accounts . The
* name of the file is passed as well , as it can name the broker . A row above the
* name of the file is passed as well , as it can name the broker . The
* maximum number of activities is left out . An output which reaches the
* reasoning is disabled , as it can add thousands of output tokens even for a
* maximum number of output tokens is cut , hence it gives an error for the
* single row . A row above the maximum number of activities is left out . An
* caller . A cut output without any text is not parsed at all , hence the
* output which reaches the maximum number of output tokens is cut , hence it
* finish reason is checked as well .
* gives an error for the caller . A cut output without any text is not parsed
* at all , hence the finish reason is checked as well .
* /
* /
public async getActivityRowsFromFile ( {
public async getActivityRowsFromFile ( {
abortSignal ,
abortSignal ,
@ -341,6 +342,7 @@ export class AiService {
settings : {
settings : {
plugins : [ { id : 'file-parser' , pdf : { engine : 'native' } } ] ,
plugins : [ { id : 'file-parser' , pdf : { engine : 'native' } } ] ,
provider : { require_parameters : true , zdr : true } ,
provider : { require_parameters : true , zdr : true } ,
reasoning : { effort : 'none' } ,
usage : { include : true }
usage : { include : true }
}
}
} ) ,
} ) ,
@ -517,10 +519,11 @@ export class AiService {
* tools search - asset - profiles and get - accounts of the server of the Model
* tools search - asset - profiles and get - accounts of the server of the Model
* Context Protocol . The accounts are given without values . The first step
* Context Protocol . The accounts are given without values . The first step
* requires a tool call , as a model can give the matches without any tool
* requires a tool call , as a model can give the matches without any tool
* call otherwise . The last step allows no tool call , so that the model
* call otherwise . The reasoning is disabled , as some models ignore a
* always gives the matches . An asset match whose asset profile no search
* required tool call while they reason . The last step allows no tool call ,
* gave is left out , as the import refuses a symbol which the data source
* so that the model always gives the matches . An asset match whose asset
* cannot resolve .
* profile no search gave is left out , as the import refuses a symbol which
* the data source cannot resolve .
* /
* /
private async getRowMatches ( {
private async getRowMatches ( {
abortSignal ,
abortSignal ,
@ -555,6 +558,7 @@ export class AiService {
modelPropertyKey : PROPERTY_OPENROUTER_MODEL_AGENT ,
modelPropertyKey : PROPERTY_OPENROUTER_MODEL_AGENT ,
settings : {
settings : {
provider : { require_parameters : true , zdr : true } ,
provider : { require_parameters : true , zdr : true } ,
reasoning : { effort : 'none' } ,
usage : { include : true }
usage : { include : true }
}
}
} ) ,
} ) ,