mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 05:03:26 +00:00
fix(coding-agent): make resolveCliModel sync, update docs and changelog
This commit is contained in:
parent
56342258e1
commit
4793f7c92d
7 changed files with 35 additions and 22 deletions
|
|
@ -274,11 +274,11 @@ export interface ResolveCliModelResult {
|
|||
* Note: This does not apply the thinking level by itself, but it may *parse* and
|
||||
* return a thinking level from "<pattern>:<thinking>" so the caller can apply it.
|
||||
*/
|
||||
export async function resolveCliModel(options: {
|
||||
export function resolveCliModel(options: {
|
||||
cliProvider?: string;
|
||||
cliModel?: string;
|
||||
modelRegistry: ModelRegistry;
|
||||
}): Promise<ResolveCliModelResult> {
|
||||
}): ResolveCliModelResult {
|
||||
const { cliProvider, cliModel, modelRegistry } = options;
|
||||
|
||||
if (!cliModel) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue