Skip to content

Commit

Permalink
fix!: remove pwd for agentDirs and promptDirs
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyu committed Aug 11, 2024
1 parent 3ee25d8 commit 6b6e4df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ $ npm install -g @offline-ai/cli
$ ai COMMAND
running command...
$ ai (--version)
@offline-ai/cli/0.0.16 linux-x64 node-v20.14.0
@offline-ai/cli/0.0.17 linux-x64 node-v20.14.0
$ ai --help [COMMAND]
USAGE
$ ai COMMAND
Expand Down Expand Up @@ -310,7 +310,7 @@ EXAMPLES
$ ai agent publish <agent-name>
```

_See code: [src/commands/agent/index.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/agent/index.ts)_
_See code: [src/commands/agent/index.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/agent/index.ts)_

## `ai autocomplete [SHELL]`

Expand Down Expand Up @@ -385,7 +385,7 @@ EXAMPLES
$ ai brain download <brain-name>
```

_See code: [src/commands/brain/index.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/brain/index.ts)_
_See code: [src/commands/brain/index.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/brain/index.ts)_

## `ai brain dn [NAME]`

Expand Down Expand Up @@ -516,7 +516,7 @@ EXAMPLES
$ ai brain download <brain-name> [-q <QUANT>]
```

_See code: [src/commands/brain/download.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/brain/download.ts)_
_See code: [src/commands/brain/download.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/brain/download.ts)_

## `ai brain list [NAME]`

Expand Down Expand Up @@ -549,7 +549,7 @@ ALIASES
$ ai brain search
```

_See code: [src/commands/brain/list.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/brain/list.ts)_
_See code: [src/commands/brain/list.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/brain/list.ts)_

## `ai brain refresh`

Expand All @@ -573,7 +573,7 @@ DESCRIPTION
refresh brain index from huggingface.co
```

_See code: [src/commands/brain/refresh.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/brain/refresh.ts)_
_See code: [src/commands/brain/refresh.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/brain/refresh.ts)_

## `ai brain search [NAME]`

Expand Down Expand Up @@ -641,7 +641,7 @@ EXAMPLES
}
```

_See code: [src/commands/config/index.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/config/index.ts)_
_See code: [src/commands/config/index.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/config/index.ts)_

## `ai config save [DATA]`

Expand Down Expand Up @@ -682,7 +682,7 @@ GLOBAL FLAGS
--json Format output as json.
```

_See code: [src/commands/config/save.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/config/save.ts)_
_See code: [src/commands/config/save.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/config/save.ts)_

## `ai help [COMMAND]`

Expand Down Expand Up @@ -1044,7 +1044,7 @@ EXAMPLES
│[info]:Start Script: ...
```

_See code: [src/commands/run/index.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/run/index.ts)_
_See code: [src/commands/run/index.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/run/index.ts)_

## `ai test`

Expand Down Expand Up @@ -1092,7 +1092,7 @@ EXAMPLES
$ ai test -f ./fixture.yaml -l info
```

_See code: [src/commands/test/index.ts](https://github.com/offline-ai/cli/blob/v0.0.16/src/commands/test/index.ts)_
_See code: [src/commands/test/index.ts](https://github.com/offline-ai/cli/blob/v0.0.17/src/commands/test/index.ts)_

## `ai version`

Expand Down
2 changes: 0 additions & 2 deletions bin/.ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ brainDir: ${XDG_DATA_HOME}/brain
agentDirs:
- $XDG_BIN_HOME/../lib
- ${XDG_DATA_HOME}/agent
- $PWD
promptDirs:
- ${XDG_DATA_HOME}/prompt
- $PWD
chatsDir: ${XDG_DATA_HOME}/log/chats
inputsDir: ${XDG_DATA_HOME}/log/inputs

0 comments on commit 6b6e4df

Please sign in to comment.