generated from nhcarrigan/template
feat: migrate to claude 4 (#1)
### Explanation _No response_ ### Issue _No response_ ### Attestations - [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [ ] I have pinned the dependencies to a specific patch version. ### Style - [ ] I have run the linter and resolved any errors. - [ ] My pull request uses an appropriate title, matching the conventional commit standards. - [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [ ] My contribution adds new code, and I have added tests to cover it. - [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [ ] All new and existing tests pass locally with my changes. - [ ] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning _No response_ Reviewed-on: #1 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
parent
4de732d53f
commit
1eed3afa99
18
package.json
18
package.json
@ -14,18 +14,18 @@
|
||||
"author": "Naomi Carrigan",
|
||||
"license": "See license in LICENSE.md",
|
||||
"devDependencies": {
|
||||
"@nhcarrigan/eslint-config": "5.1.0",
|
||||
"@nhcarrigan/eslint-config": "5.2.0",
|
||||
"@nhcarrigan/typescript-config": "4.0.0",
|
||||
"@types/node": "22.13.1",
|
||||
"@vitest/coverage-istanbul": "3.0.5",
|
||||
"eslint": "9.20.0",
|
||||
"typescript": "5.7.3",
|
||||
"vitest": "3.0.5"
|
||||
"@types/node": "22.15.21",
|
||||
"@vitest/coverage-istanbul": "3.1.4",
|
||||
"eslint": "9.27.0",
|
||||
"typescript": "5.8.3",
|
||||
"vitest": "3.1.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "0.36.3",
|
||||
"@anthropic-ai/sdk": "0.52.0",
|
||||
"@nhcarrigan/logger": "1.0.0",
|
||||
"discord.js": "14.18.0",
|
||||
"fastify": "5.2.1"
|
||||
"discord.js": "14.19.3",
|
||||
"fastify": "5.3.3"
|
||||
}
|
||||
}
|
||||
|
769
pnpm-lock.yaml
generated
769
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -48,7 +48,7 @@ export const onMessage = async(message: Message): Promise<void> => {
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention -- Required key format for SDK.
|
||||
max_tokens: 3000,
|
||||
messages: context,
|
||||
model: "claude-3-5-sonnet-latest",
|
||||
model: "claude-sonnet-4-20250514",
|
||||
system: `${personality} The user's name is ${message.author.displayName}`,
|
||||
temperature: 1,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user