Skip to content

Conversation

@hiromeee
Copy link
Contributor

@hiromeee hiromeee commented Aug 7, 2025

チャットフォームに質問を投げたらとりあえずLLMから返信が返ってくるようにはした

Create Next App - Google Chrome 2025_08_07 9_49_08

@hiromeee hiromeee requested a review from na-trium-144 August 7, 2025 00:52
@hiromeee hiromeee self-assigned this Aug 7, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 7, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
my-code 29d0e0a Commit Preview URL

Branch Preview URL
Aug 07 2025, 10:03 AM

throw new Error(data.response || "エラーが発生しました。");
}
setResponse(data.response);
} catch (error: any) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./app/[docs_id]/chatForm.tsx
33:21  Error: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any

エラーの型はanyではなくunknownにすると良いらしいですね
https://qiita.com/frozenbonito/items/e708dfb3ab7c1fd3824d

@na-trium-144 na-trium-144 merged commit 0597dfa into main Aug 7, 2025
2 of 3 checks passed
@hiromeee hiromeee deleted the chat branch August 7, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants