fix: formatting

This commit is contained in:
Dallin Romney 2025-11-17 11:19:36 -08:00
parent d80c36438f
commit 1e9637196b
3 changed files with 12 additions and 8 deletions

View file

@ -220,11 +220,11 @@
"version": "1.15.0",
"license": "Apache-2.0",
"dependencies": {
"@anthropic-ai/sdk": "^0.62.0",
"@anthropic-ai/sdk": "^0.67.0",
"@aws-sdk/client-bedrock-runtime": "^3.842.0",
"@aws-sdk/credential-providers": "^3.840.0",
"@aws-sdk/credential-providers": "^3.913.0",
"@continuedev/config-types": "^1.0.14",
"@continuedev/config-yaml": "^1.14.0",
"@continuedev/config-yaml": "^1.29.0",
"@continuedev/fetch": "^1.5.0",
"dotenv": "^16.5.0",
"google-auth-library": "^10.1.0",

View file

@ -1,6 +1,7 @@
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";
import { beforeEach, describe, expect, it, vi } from "vitest";
import {

View file

@ -1,11 +1,16 @@
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";
import {
AgentFile,
parseAgentFile,
parseAgentFileRules,
parseAgentFileTools,
} from "@continuedev/config-yaml";
import fs from "fs";
import path from "path";
import { getErrorString } from "src/util/error.js";
import {
agentFileProcessor,
loadModelFromHub,
@ -13,8 +18,6 @@ import {
} from "../hubLoader.js";
import { logger } from "../util/logger.js";
import { getErrorString } from "src/util/error.js";
import { fileURLToPath } from "url";
import { BaseService, ServiceWithDependencies } from "./BaseService.js";
import { serviceContainer } from "./ServiceContainer.js";
import {
@ -57,7 +60,7 @@ export class AgentFileService
return await loadPackageFromHub(agentPath, agentFileProcessor);
} catch (e) {
logger.info(
`Failed to load agent file from slug-like path: ${agentPath}`,
`Failed to load agent file from slug-like path ${agentPath}: ${getErrorString(e)}`,
);
// slug COULD be path, fall back to relative path
}