Skip to content

Commit

Permalink
chore: rename npm package cortexso (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-menlo authored Jun 25, 2024
1 parent 737e5f7 commit e6af66b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cortex-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Ensure that your system meets the following requirements to run Cortex:
- **OS**:
- MacOSX 13.6 or higher.
- Windows 10 or higher.
- Ubuntu 12.04 and later.
- Ubuntu 22.04 and later.
- **RAM (CPU Mode):**
- 8GB for running up to 3B models.
- 16GB for running up to 7B models.
Expand All @@ -64,7 +64,7 @@ Ensure that your system meets the following requirements to run Cortex:
To install Cortex CLI, follow the steps below:
1. Install the Cortex NPM package globally:
``` bash
npm i -g @janhq/cortex
npm i -g cortexso
```
> Cortex automatically detects your CPU and GPU, downloading the appropriate CPU instruction sets and required dependencies to optimize GPU performance.
Expand Down Expand Up @@ -150,7 +150,7 @@ Run the following command to uninstall Cortex globally on your machine:
```
# Uninstall globally using NPM
npm uninstall -g @janhq/cortex
npm uninstall -g cortexso
```
## Contact Support
- For support, please file a GitHub ticket.
Expand Down
2 changes: 1 addition & 1 deletion cortex-js/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@janhq/cortex",
"name": "cortexso",
"version": "0.0.1",
"description": "Cortex is an openAI-compatible local AI server that developers can use to build LLM apps. It is packaged with a Docker-inspired command-line interface and a Typescript client library. It can be used as a standalone server, or imported as a library.",
"author": "Jan <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ export class InitCliUsecases {
);

if (!toDownloadAsset) {
console.log(`Could not find engine file ${engineFileName}`);
console.log(`Could not find engine ${engineFileName}`);
exit(1);
}

console.log(`Downloading Llama.cpp engine file ${engineFileName}`);
console.log(`Downloading default engine ${engineFileName}`);
const dataFolderPath = await this.fileManagerService.getDataFolderPath();
const engineDir = join(dataFolderPath, 'cortex-cpp');
if (existsSync(engineDir)) rmSync(engineDir, { recursive: true });
Expand Down
1 change: 0 additions & 1 deletion cortex-js/src/usecases/cortex/cortex.usecases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
CORTEX_CPP_HEALTH_Z_URL,
CORTEX_CPP_PROCESS_DESTROY_URL,
} from '@/infrastructure/constants/cortex';
import { Engines } from '@/infrastructure/commanders/types/engine.interface';

@Injectable()
export class CortexUsecases {
Expand Down

0 comments on commit e6af66b

Please sign in to comment.