Skip to content

Conversation

@SurgeCode
Copy link
Member

No description provided.

@@ -0,0 +1,127 @@
import { BitteToolResult } from "@bitte-ai/types";

const BITTE_API_URL = "https://ai-runtime-446257178793.europe-west1.run.app";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a public NPM package. Do we want this fixed URL to be here?

agentId: string;
}

export interface ChatMessage {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of these types look like they belong or already exist in @bitte-ai/types.

const prefix = line.substring(0, 2);
const data = line.substring(2);

switch (prefix) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these prefixes supposed to mean?

cursor[bot]

This comment was marked as outdated.

@bh2smith
Copy link
Member

I see we are depending on this old PR in https://github.com/BitteProtocol/auto-trader/blob/3098e577ecca7e629d953cf74a4f0c0b5145b7db/package.json#L15

Can we try and get it merged/released.

Comment on lines 41 to 51
export async function callAgent<T = Record<string, unknown>>(
accountId: string,
message: string,
agentId: string,
evmAddress: string = "",
suiAddress: string = "",
solanaAddress: string = "",
): Promise<AgentResponse<T>> {
const chatId = `chat_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is were we want to pass system Prompt Override.

@bh2smith bh2smith force-pushed the autonomous-method branch 4 times, most recently from 5672345 to c648e16 Compare October 16, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants