-
Notifications
You must be signed in to change notification settings - Fork 317
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
allow adding header and footer, autoconfirm, add js-tiktoken, add faster check for going to file-only mode #343
base: dev
Are you sure you want to change the base?
Commits on May 16, 2024
-
chore: update .gitignore to include Makefile
refactor: remove unused fs operations from esbuild.config.js chore: update dependencies and add overrides in package.json docs: update commit message guidelines in prompts.ts refactor: switch to js-tiktoken for token encoding in tokenCount.ts
Configuration menu - View commit details
-
Copy full SHA for dc13ee3 - Browse repository at this point
Copy the full SHA dc13ee3View commit details -
style: reformat code for better readability and consistency
chore(config): add new config keys for prompt header and footer style: reformat code for better readability and consistency across files refactor(prompts.ts): restructure prompt generation for clarity and maintainability chore: update dependencies and improve environment variable handling style(server.ts): rename port variable to uppercase for consistency and clarity chore(server.ts): add support for configurable port via process.env.PORT style(engine.ts, tokenCount.ts, version.ts): standardize import quotes to single quotes for consistency
Configuration menu - View commit details
-
Copy full SHA for 3ff4103 - Browse repository at this point
Copy the full SHA 3ff4103View commit details -
build(esbuild.config.js): add step to copy tiktoken_bg.wasm to output…
… directory chore(package.json): add tiktoken dependency style(config.ts, prompts.ts): fix formatting and indentation issues refactor(tokenCount.ts): add native token counting using Tiktoken and conditional export based on environment variable
Configuration menu - View commit details
-
Copy full SHA for 53f4080 - Browse repository at this point
Copy the full SHA 53f4080View commit details -
build(esbuild.config.js): add wasm plugin to handle WebAssembly files
chore(commit.ts): add check for empty remotes array before selecting remote perf(tokenCount.ts): move encoding initialization inside function to reduce memory usage
Configuration menu - View commit details
-
Copy full SHA for 4e941d9 - Browse repository at this point
Copy the full SHA 4e941d9View commit details -
fix(commit.ts): change condition to prompt remote selection only if m…
…ore than one remote is available
Configuration menu - View commit details
-
Copy full SHA for d240409 - Browse repository at this point
Copy the full SHA d240409View commit details -
feat(commit): add config option to always stage all files before commit
Introduce OCO_GIT_STAGE_ALWAYS config key to bypass user confirmation for staging all files. This enhances automation and streamlines the commit process when the config is set to true.
Configuration menu - View commit details
-
Copy full SHA for bf0c275 - Browse repository at this point
Copy the full SHA bf0c275View commit details -
refactor(esbuild.config.js): remove custom wasm plugin to simplify bu…
…ild configuration
Configuration menu - View commit details
-
Copy full SHA for f0cfdf1 - Browse repository at this point
Copy the full SHA f0cfdf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea42081 - Browse repository at this point
Copy the full SHA ea42081View commit details -
chore(package.json): include out/tiktoken_bg.wasm in files array
refactor(commit.ts): add auto-confirmation for commit and stage actions refactor(config.ts): rename OCO_GIT_STAGE_ALWAYS to OCO_AUTOCONFIRM_STAGE and add OCO_AUTOCONFIRM_COMMIT fix(openAi.ts): handle undefined message content in token count style(prompts.ts): move OCO_PROMPT_FOOTER to the end of the prompt style(mergeDiffs.ts): adjust import statement and spacing in token count check
Configuration menu - View commit details
-
Copy full SHA for aa6b7e6 - Browse repository at this point
Copy the full SHA aa6b7e6View commit details
Commits on May 17, 2024
-
refactor: add tokenCountEstimate for better token management and impr…
…ove error handling
Configuration menu - View commit details
-
Copy full SHA for 7a69cce - Browse repository at this point
Copy the full SHA 7a69cceView commit details