Skip to content

Conversation

@jfromaniello
Copy link
Contributor

This pull request introduces a new API endpoint to retrieve a specific chat by its ID, enhancing the chat-related functionality in the application. The changes include updates to the src/server.ts file to add the new endpoint and integrate the getChat function.

Additions to chat functionality:

  • src/server.ts: Imported the getChat function to support fetching a specific chat by ID.
  • src/server.ts: Added a new GET endpoint /api/chats/:chatID that requires authentication. This endpoint retrieves a specific chat using the getChat function and ensures the user is authenticated via their session.

@jfromaniello jfromaniello merged commit 0c2ece9 into main Jun 24, 2025
1 check passed
@jfromaniello jfromaniello deleted the add_missing_api_endpoint branch June 24, 2025 14:03
AdamWozniewski pushed a commit to AdamWozniewski/cloudflare-agents-starter-local that referenced this pull request Oct 27, 2025
priley86 pushed a commit to priley86/cloudflare-agents-starter that referenced this pull request Oct 27, 2025
jfromaniello pushed a commit that referenced this pull request Nov 7, 2025
* fix: updated packages and methodes names

* fix: renamed methods

* fix: fixed tools usage examples

* fix: removed console logs

* fix: prettier fix

* fix: update biome.json

* fix: update biome.json 2

* fix: updated lock file

* fix: fixed issue for biome

* fix: fixed weather tool usage

* fix: lint

* fix: lint #2

* fix: udpated versions to stable ones

* fix: fixed biome

* fix: fixed ts

* fix: fixed package

* AIDX-307 Add support for Auth0, fixes to /user endpoint

* fix: fixed server ts

* Trigger Build

* TEST: tsc muting

* Reduction of typing errors

* fix: fixed chat ts

* fix: code review updates

* fix: export ChatInstance type

* fix: minor ui tweaks

* Add support for github and slack

* fix: fixed server ts

* Trigger Build

* fix: fixed chat ts

* fix: code review updates

* fix: export ChatInstance type

* fix: minor ui tweaks

* fix: updated default config

* fix: fixed prev merge

* fix: removed types

* fix: updated lock file

* fix: biome file

* fix: added shared mixin types which relax constraints for private fields

* fix: provide node os stubs for slack and otcokit deps

* fix: run prettier

* feat: testing auth0-cloudflare-agents-api update, lint fixes

* fix: allow tgz temporarily

* feat: upgrade example with new type support

* feat: use npm remote branch

* feat: update w/ auth0-cloudflare-agents-api

---------

Co-authored-by: PavelKorobchuk <pavelkorobchuk@gmail.com>
Co-authored-by: Adam Woźniewski <adam.baaka@gmail.com>
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