forked from linweiyuan/go-chatgpt-api
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added URL attribution and improved message handling
- Introduced a new UrlAttr struct to handle URL attributions. - Enhanced the Handler function with additional checks for message metadata. - Implemented a map to store URL attributions, reducing redundant API calls. - Added getURLAttribution function to fetch URL attributions from the API. - Refactored variable names for clarity and consistency.
- Loading branch information
Showing
2 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters