Skip to content

Commit 04fabb0

Browse files
committed
just fetching upstream & merge
1 parent 1d551e2 commit 04fabb0

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

packages/core/elizaConfig.example.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Load custom actions from the actions directory
22

3-
# Close this into a elizaConfig.yaml file that is ignored by git
3+
# Clone this into a elizaConfig.yaml file that is ignored by git
44

55
# Paths are relative to the core/src directory
66

packages/core/src/core/defaultCharacter.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import { Character, ModelProvider } from "./types.ts";
1+
import { Character, ModelProvider, Clients } from "./types.ts";
22

33
export const defaultCharacter: Character = {
44
name: "Eliza",
55
plugins: [],
66
clients: [],
77
modelProvider: ModelProvider.LLAMALOCAL,
88
settings: {
9-
secrets: {},
9+
secrets: {
10+
},
1011
voice: {
1112
model: "en_US-hfc_female-medium",
1213
},

packages/core/src/services/llama.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ class LlamaService implements ILlamaService {
1111
private delegate: ILlamaService;
1212

1313
private constructor() {
14-
const provider = settings.LOCAL_LLAMA_PROVIDER;
14+
const provider = process.env.LOCAL_LLAMA_PROVIDER;
1515
console.log("provider: ", provider)
16-
if (provider === ModelProvider.OLLAMA) {
16+
if (true){//provider === ModelProvider.OLLAMA) {
17+
console.log("running ollama")
1718
this.delegate = OllamaService.getInstance();
1819
} else {
20+
console.log("running llama-cpp")
1921
this.delegate = LlamaCppService.getInstance();
2022
}
2123
}

0 commit comments

Comments
 (0)