Skip to content

Commit 0e23caa

Browse files
committed
update pr
1 parent a506e25 commit 0e23caa

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

integrations/gaia/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async function main() {
101101
/* Get the AI response */
102102
const completion = await openai.chat.completions.create({
103103
messages: [{ role: "user", content: message.content as string }],
104-
model: GAIA_MODEL_NAME,
104+
model: GAIA_MODEL_NAME as string,
105105
});
106106

107107
/* Get the AI response */

integrations/gaia/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7+
"build": "cd ../.. && yarn tsc",
78
"dev": "tsx --env-file=.env index.ts",
8-
"gen:keys": "tsx ../../scripts/generateKeys.ts"
9+
"gen:keys": "tsx ../../scripts/generateKeys.ts",
10+
"lint": "cd ../.. && yarn eslint integrations/gaia",
11+
"typecheck": "cd ../.. && yarn typecheck"
912
},
1013
"dependencies": {
1114
"@xmtp/node-sdk": "0.0.42",

integrations/gaia/tsconfig.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {
5+
"@/helpers": ["./helpers/index.ts"]
6+
}
7+
},
8+
"include": ["**/*.ts"]
9+
}

0 commit comments

Comments
 (0)