load config.yaml model!
This commit is contained in:
parent
6994ccd4c5
commit
e9d7a89ffb
2 changed files with 6 additions and 2 deletions
|
|
@ -128,7 +128,11 @@ export async function loadConfig(
|
|||
}
|
||||
|
||||
return result.config as AssistantUnrolled;
|
||||
} else if (config.startsWith(".") || config.startsWith("/")) {
|
||||
} else if (
|
||||
config.startsWith(".") ||
|
||||
config.startsWith("/") ||
|
||||
config.startsWith("~")
|
||||
) {
|
||||
// Load from file
|
||||
const configYaml = await loadConfigYaml(
|
||||
authConfig?.accessToken ?? null,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ export function introMessage(
|
|||
console.info(chalk.cyan(CONTINUE_ASCII_ART));
|
||||
|
||||
console.info(`\n${chalk.bold.blue(`Agent: ${config.name}\n`)}`);
|
||||
console.info(`${chalk.yellow("Model:")} ${modelName}\n`);
|
||||
console.info(`${chalk.yellow("Model:")} ${modelName.split("/").pop()}\n`);
|
||||
|
||||
console.info(chalk.yellow("Tools:"));
|
||||
getAllTools().forEach((tool) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue