-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #75
Merged
Merged
Dev #75
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 174dde9 - Browse repository at this point
Copy the full SHA 174dde9View commit details
Commits on Jun 17, 2024
-
feat: refactor file organization and dependencies
This commit reorganizes several files and updates dependencies to enhance project structure and efficiency: - Moved files: - AccAuthPool.go to AccessTokenPool.go - AccTokens.go to AccTokens.go - apiReq.go to apiReq.go - apiRespJson.go to apiRespJson.go - apiRespStream.go to apiRespStream.go - chatReq.go to chatReq.go - chatResp.go to chatResp.go - completions.go to completions.go - FreeChat.go to FreeChat.go - Updated Docker build YAML: - Fixed typo in cache-from option. - Modified cache-to to correct syntax. - Refactored common.go: - Removed unused imports and functions. - Added logger configuration options for improved logging performance. - Updated config.go: - Corrected import path for AccessTokenPool. - Updated FreeChat.go: - Updated import paths to reflect AccessTokenPool. - Updated go.mod and go.sum: - Updated dependencies for tls_client_httpi, tls-client, and go-logger. These changes optimize file structure, correct configuration settings, and update dependencies to latest versions for better project maintenance and performance.
Configuration menu - View commit details
-
Copy full SHA for b536ee0 - Browse repository at this point
Copy the full SHA b536ee0View commit details -
fix: Corrected syntax and added missing struct fields in
chatReq.go
…… and `util.go` - Fixed syntax issues and added `ForceUseSse` and `FaceUseSse` fields in `chatReq.go`. - Initialized `ForceUseSse` as `false` and `FaceUseSse` as `true` in `util.go`.
Configuration menu - View commit details
-
Copy full SHA for 68729d7 - Browse repository at this point
Copy the full SHA 68729d7View commit details -
refactor: Update YAML tags and methods for AccessTokenPool
- Added YAML tags (`yaml:"token,omitempty"`, `yaml:"expires_at,omitempty"`, `yaml:"-"`) to `Token`, `ExpiresAt`, and `CanUseAt` fields in `AccessTokenPool.go`. - Renamed methods: - `AddToken` to `AddAccessToken` in `AccessTokenPool.go`. - `AppendTokens` to `AppendAccessTokens` in `AccessTokenPool.go`. - Introduced `IsFileExist` and `ReadFile` functions in `common.go` to handle file existence check and file reading, respectively. - Updated `config.go` to use `TokensFile` instead of `AccessTokens` and load tokens from the file specified in `TOKENS_FILE`. - Adjusted README.md to reflect changes related to `TOKENS_FILE` and removed references to `ACCESS_TOKENS`. - Modified `util.go` to update `ForceUseSse` and `FaceUseSse` values. These changes optimize YAML handling, improve file operations, and update method names for clarity and consistency.
Configuration menu - View commit details
-
Copy full SHA for 82e1ff9 - Browse repository at this point
Copy the full SHA 82e1ff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a861180 - Browse repository at this point
Copy the full SHA a861180View commit details -
Configuration menu - View commit details
-
Copy full SHA for 507f682 - Browse repository at this point
Copy the full SHA 507f682View commit details -
chore: update
.gitignore
to reflect file extension change from `.ya……ml` to `.yml` fix: enhance conditional logic in `AccessTokenPool.go` to include expiration check refactor: improve `FreeChat.go` to handle token retrieval and error case more efficiently docs: update README.md for clarity on token usage and error handling
Configuration menu - View commit details
-
Copy full SHA for 6a12204 - Browse repository at this point
Copy the full SHA 6a12204View commit details -
chore: update dependencies to latest versions
Updated `go.mod` and `go.sum` to reflect changes: - Removed `github.com/gorilla/websocket v1.5.1` from `go.mod`. - Added `gopkg.in/yaml.v3 v3.0.1` to `go.mod`. - Removed entries for `github.com/donnie4w/go-logger v0.24.1` from `go.sum`. - Removed `github.com/gorilla/websocket v1.5.1` entries from `go.sum`.
Configuration menu - View commit details
-
Copy full SHA for c02a199 - Browse repository at this point
Copy the full SHA c02a199View commit details -
fix: update deployment option from Koyeb to Vercel in README.md
Adjusted deployment option from Koyeb to Vercel and added Vercel deployment button.
Configuration menu - View commit details
-
Copy full SHA for 500423a - Browse repository at this point
Copy the full SHA 500423aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.