-
Notifications
You must be signed in to change notification settings - Fork 3
Fix path config and i18n for cli help #16
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
04d0672
Hotfix: Wrong condition for use OpenAI module
ParallelKim 35a16c5
Refactor: Prepare before implement response API
ParallelKim 0873def
Add: Example for .env configs
ParallelKim f5a75e8
Feat: Apply locale for cli help
ParallelKim 9887d56
Fix: Path error for log
ParallelKim 047132e
Fix: Remove default open ai url while input args step
ParallelKim bc0e174
Fix: Print help only for main yargs process
ParallelKim c7f87da
Comment: For i18n.ts
ParallelKim 7b74154
Update: Disable api type arg for now
ParallelKim 38e781a
Refactor: Clear name for two types of path
ParallelKim 6425aa0
Update: Cli description for locale flag
ParallelKim ba56eca
Update: CI config and reflect PR comment
ParallelKim c513857
Fix: Roll back system role for compatibility
ParallelKim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| This project is for a CLI tool that utilizes OpenAI's language models to translate Markdown files into various languages. | ||
| Key Features | ||
| ✅ Preserves Markdown syntax during translation | ||
| 🌐 Supports translation into all languages available through OpenAI models | ||
| 📂 Supports recursive directory translation | ||
| 🔄 Automatic retry mechanism for failed translations | ||
| 📝 Detailed logging system | ||
| 🌲 Directory structure visualization | ||
| 🔗 Supports fetching and translating Markdown content from URLs | ||
|
|
||
| Since this project involves collaboration among English, Chinese, and Korean users, all comments in the code should be written in these three languages to ensure clear communication and understanding across the team. |
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| HINT='copy this file and rename it to .env' | ||
| OPENAI_URL=https://api.openai.com/v1/chat/completions | ||
| API_KEY=sk-proj-7D4... //paste your api key | ||
| MODEL=gpt-4o-mini | ||
| API_TYPE=completions |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.