Skip to content

Implement Tiktoken cache directory and JSON response formatting#371

Merged
yangbobo2021 merged 2 commits into
mainfrom
fix_json_mode_parameters
May 7, 2024
Merged

Implement Tiktoken cache directory and JSON response formatting#371
yangbobo2021 merged 2 commits into
mainfrom
fix_json_mode_parameters

Conversation

@yangbobo2021

Copy link
Copy Markdown
Contributor

This pull request includes two key improvements to the CLI:

  • A new cache directory for Tiktoken has been added during the CLI initialization process to enhance performance and persistence.

  • The request handler now explicitly uses response_format to return results in JSON format, ensuring consistency in response data structures.

These enhancements should provide a more robust and reliable user experience.

Please review the changes and let me know if there are any concerns or further optimizations we can implement.

@yangbobo2021 yangbobo2021 merged commit 695dd9b into main May 7, 2024
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.

1 participant