Skip to content

Commit ba4752b

Browse files
authored
Merge pull request #2456 from Dimitrolito/fix/spelling
Fix spelling error
2 parents 7ac4645 + f38aded commit ba4752b

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

packages/client-discord/src/actions/summarize_conversation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const dateRangeTemplate = `# Messages we are summarizing (the conversatio
2828
{{recentMessages}}
2929
3030
# Instructions: {{senderName}} is requesting a summary of the conversation. Your goal is to determine their objective, along with the range of dates that their request covers.
31-
The "objective" is a detailed description of what the user wants to summarize based on the conversation. If they just ask for a general summary, you can either base it off the converation if the summary range is very recent, or set the object to be general, like "a detailed summary of the conversation between all users".
31+
The "objective" is a detailed description of what the user wants to summarize based on the conversation. If they just ask for a general summary, you can either base it off the conversation if the summary range is very recent, or set the object to be general, like "a detailed summary of the conversation between all users".
3232
The "start" and "end" are the range of dates that the user wants to summarize, relative to the current time. The start and end should be relative to the current time, and measured in seconds, minutes, hours and days. The format is "2 days ago" or "3 hours ago" or "4 minutes ago" or "5 seconds ago", i.e. "<integer> <unit> ago".
3333
If you aren't sure, you can use a default range of "0 minutes ago" to "2 hours ago" or more. Better to err on the side of including too much than too little.
3434

packages/plugin-birdeye/src/actions/token-search-symbol.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const tokenSearchSymbolAction = {
9090
)
9191
);
9292

93-
// get filter the resuls to only include the token results and then filter the results to only include the ones that match the symbol
93+
// get filter the results to only include the token results and then filter the results to only include the ones that match the symbol
9494
const validResults = results.map((r, i) =>
9595
r.data.items
9696
.filter((item) => item.type === "token" && item.result)

packages/plugin-bootstrap/src/providers/boredom.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ const cringeWords = [
215215
"uncharted",
216216
"multifaceted",
217217
"comprehensive",
218-
"multi-dimentional",
218+
"multi-dimensional",
219219
"explore",
220220
"elevate",
221221
"leverage",

packages/plugin-obsidian/src/actions/search.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const searchAction: Action = {
2626
"FULL_SEARCH_VAULT",
2727
"FULL_SEARCH_NOTES",
2828
"FULL_SEARCH_FILES",
29-
"SERCH_ALL",
29+
"SEARCH_ALL",
3030
"SEARCH_ALL_NOTES",
3131
"SEARCH_ALL_FILES",
3232
"SEARCH_VAULT",

packages/plugin-starknet/src/utils/index.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ export const getPercent = (amount: string | number, decimals: number) => {
3838
return new Percent(amount, decimals);
3939
};
4040

41-
export const parseFormatedAmount = (amount: string) => amount.replace(/,/g, "");
41+
export const parseFormattedAmount = (amount: string) => amount.replace(/,/g, "");
4242

4343
export const PERCENTAGE_INPUT_PRECISION = 2;
4444

45-
export const parseFormatedPercentage = (percent: string) =>
45+
export const parseFormattedPercentage = (percent: string) =>
4646
new Percent(
4747
+percent * 10 ** PERCENTAGE_INPUT_PRECISION,
4848
100 * 10 ** PERCENTAGE_INPUT_PRECISION
@@ -65,12 +65,12 @@ export const formatCurrenyAmount = (
6565
};
6666

6767
export const formatPercentage = (percentage: Percent) => {
68-
const formatedPercentage = +percentage.toFixed(2);
68+
const formattedPercentage = +percentage.toFixed(2);
6969
const exact = percentage.equalTo(
70-
new Percent(Math.round(formatedPercentage * 100), 10000)
70+
new Percent(Math.round(formattedPercentage * 100), 10000)
7171
);
7272

73-
return `${exact ? "" : "~"}${formatedPercentage}%`;
73+
return `${exact ? "" : "~"}${formattedPercentage}%`;
7474
};
7575

7676
export type RetryConfig = {

packages/plugin-web-search/src/services/webSearchService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
import { tavily } from "@tavily/core";
77
import { IWebSearchService, SearchOptions, SearchResponse } from "../types";
88

9-
export type TavilyClient = ReturnType<typeof tavily>; // declaring manually because orginal package does not export its types
9+
export type TavilyClient = ReturnType<typeof tavily>; // declaring manually because original package does not export its types
1010

1111
export class WebSearchService extends Service implements IWebSearchService {
1212
public tavilyClient: TavilyClient

0 commit comments

Comments
 (0)