Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: minor changes to file structure #11

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ Respond with a single line of JSON in this exact format:
modelClass: ModelClass.SMALL,
});

console.log("response", JSON.stringify(response, null, 2));

return cleanResponseText(
response?.text || "Lost in thought at the moment"
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
getTokenSecurity,
getTokenTradeData,
getWalletPortfolio,
} from "./birdeye-api";
import { APOLLO_WALLET_ADDRESS } from "./constants";
import { generateRandomThought } from "./random-thoughts";
} from "./apollo/birdeye-api";
import { APOLLO_WALLET_ADDRESS } from "./apollo/constants";
import { generateRandomThought } from "./apollo/random-thoughts";
import { createMemory } from "./utils";

export const updateAllPositionsAndStrategies = async (
Expand Down
2 changes: 1 addition & 1 deletion packages/client-auto/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Client, IAgentRuntime } from "@elizaos/core";
import { trendingTokenThought } from "./trending-token-thought";
import { trendingTokenThought } from "./apollo/trending-token-thought";

export class AutoClient {
interval: NodeJS.Timeout;
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/parsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export function parseJSONObjectFromText(
jsonData = JSON.parse(objectMatch[0]);
} catch (e) {
console.error("Error parsing JSON:", e);
console.log("text", text);
return null;
}
}
Expand Down
Loading