Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Nov 1, 2024
1 parent 7ad5f44 commit f60f208
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions core/src/core/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ export class AgentRuntime implements IAgentRuntime {
});

if (!this.getSetting("OPENAI_API_KEY") && !this.llamaService) {
console.log("No OpenAI key found, using LlamaLocal for agent", this.agentId, this.character.name);
this.llamaService = LlamaService.getInstance();
}

Expand Down
1 change: 0 additions & 1 deletion core/src/services/llama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ class LlamaService {
async initializeModel() {
try {
await this.checkModel();
console.log("Loading llama");

const systemInfo = await si.graphics();
const hasCUDA = systemInfo.controllers.some((controller) =>
Expand Down
Empty file removed src/providers/token.test.ts
Empty file.

0 comments on commit f60f208

Please sign in to comment.