Skip to content

Commit 682098b

Browse files
committed
chore(example): remove unused packages
1 parent 8afef68 commit 682098b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

examples/telegram-bot/src/TelegramBot.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
import { Telegraf } from "telegraf";
22
import { setupHandlers } from "./handlers";
33
import { PolkadotAgentKit } from "@polkadot-agent-kit/sdk";
4-
import {
5-
getChainByName,
6-
KnownChainId,
7-
getAllSupportedChains,
8-
} from "@polkadot-agent-kit/common";
94
import {
105
ChatModelFactory,
116
ChatModelOptions,
127
ChatModelWithTools,
138
} from "./models";
14-
import { BaseChatModel } from "@langchain/core/language_models/chat_models";
159

1610
interface BotConfig {
1711
botToken: string;

examples/telegram-bot/src/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Telegraf } from "telegraf";
22
import { HumanMessage, SystemMessage } from "@langchain/core/messages";
3-
import { DynamicStructuredTool, Tool } from "@langchain/core/tools";
3+
import { DynamicStructuredTool } from "@langchain/core/tools";
44
import { ChatModelWithTools } from "./models";
55

66
const SYSTEM_PROMPT = `I am a Telegram bot powered by PolkadotAgentKit. I can assist you with:

0 commit comments

Comments
 (0)