p
This commit is contained in:
parent
32968c970e
commit
8837ec7a1d
3 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@continuedev/cli",
|
||||
"version": "0.0.11",
|
||||
"version": "0.0.12",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ async function chat() {
|
|||
|
||||
const hub = new ContinueHubClient({
|
||||
apiKey: authConfig.accessToken,
|
||||
currentUserSlug: "e2e",
|
||||
currentUserSlug: "nate",
|
||||
orgScopeId: null,
|
||||
apiBase: env.apiBase,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export async function loadAssistant(
|
|||
hub: ContinueHubClient,
|
||||
filepathOrSlug: string
|
||||
): Promise<AssistantUnrolled> {
|
||||
console.log("Loading assistant ", filepathOrSlug)
|
||||
if (!fs.existsSync(filepathOrSlug)) {
|
||||
// Assume it's a slug
|
||||
return await hub.loadAssistant(filepathOrSlug);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue