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

fix: Update and add Conflux #613

Merged
merged 5 commits into from
Nov 26, 2024
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
2 changes: 1 addition & 1 deletion packages/adapter-sqljs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class SqlJsDatabaseAdapter
tableName: string;
}): Promise<Memory[]> {
const placeholders = params.roomIds.map(() => "?").join(", ");
let sql = `SELECT * FROM memories WHERE 'type' = ? AND agentId = ? AND roomId IN (${placeholders})`;
const sql = `SELECT * FROM memories WHERE 'type' = ? AND agentId = ? AND roomId IN (${placeholders})`;
const stmt = this.db.prepare(sql);
const queryParams = [params.tableName, params.agentId, ...params.roomIds];
console.log({ queryParams })
Expand Down
8 changes: 0 additions & 8 deletions packages/core/.eslintignore

This file was deleted.

16 changes: 15 additions & 1 deletion packages/core/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
import eslintGlobalConfig from "../../eslint.global.mjs";

export default [...eslintGlobalConfig];
export default [
{
ignores: [
'**/node_modules/*',
'**/coverage/*',
'**/dist/*',
'**/types/*',
'**/scripts/concatenated-output.ts',
'rollup.config.js',
'jest.config.js',
'docs/'
]
},
...eslintGlobalConfig
];
4 changes: 2 additions & 2 deletions packages/plugin-bootstrap/src/providers/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const timeProvider: Provider = {
// Get UTC time since bots will be communicating with users around the global
const options = {
timeZone: "UTC",
dateStyle: "full" as "full",
timeStyle: "long" as "long",
dateStyle: "full" as const,
timeStyle: "long" as const,
};
const humanReadable = new Intl.DateTimeFormat("en-US", options).format(
currentDate
Expand Down
Loading