-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: adding API support at 1337 #991
Merged
Merged
Conversation
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
Signed-off-by: James <[email protected]>
namchuai
force-pushed
the
feature/add-api-support
branch
from
December 14, 2023 04:48
0954935
to
d3445c4
Compare
louis-jan
approved these changes
Dec 14, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
louis-jan
reviewed
Dec 14, 2023
} | ||
} | ||
|
||
export const getMessages = async (threadId: string) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: These logics will be shared later
louis-jan
pushed a commit
that referenced
this pull request
Dec 25, 2023
Signed-off-by: James <[email protected]> Co-authored-by: James <[email protected]>
louis-jan
pushed a commit
that referenced
this pull request
Dec 28, 2023
Signed-off-by: James <[email protected]> Co-authored-by: James <[email protected]>
louis-jan
added a commit
that referenced
this pull request
Dec 28, 2023
* chore: expose fs apis * chore: correct electron import path * update download api Signed-off-by: James <[email protected]> * update chat_completion Signed-off-by: James <[email protected]> * fix electron import Signed-off-by: James <[email protected]> * feat: adding API support at 1337 (#991) Signed-off-by: James <[email protected]> Co-authored-by: James <[email protected]> * feat: Add /chat/completion api and handler * chore: add todo for modelList * chore: read engine.json for openai chat_completion (#1030) Signed-off-by: James <[email protected]> Co-authored-by: James <[email protected]> * refactor: move routes to shared node module * refactor: exported modules from core with types (#1172) * refactor: exported modules from core with types * fix: fix file reading args * refactor: fileManager handles * fix: app issues with server refactoring * refactor: shared server module (#1210) * chore: resolve main * chore: update makefile --------- Signed-off-by: James <[email protected]> Co-authored-by: James <[email protected]> Co-authored-by: NamH <[email protected]> Co-authored-by: hiro <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
** Adding API at http://localhost:1337
Document: https://jan.ai/api-reference/#tag/Messages/operation/retrieveMessageFile