Skip to content
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 1 commit into from
Dec 14, 2023

Conversation

namchuai
Copy link
Contributor

@namchuai namchuai commented Dec 14, 2023

@namchuai namchuai force-pushed the feature/add-api-support branch from 0954935 to d3445c4 Compare December 14, 2023 04:48
@namchuai namchuai requested a review from louis-jan December 14, 2023 04:50
Copy link
Contributor

@louis-jan louis-jan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

}
}

export const getMessages = async (threadId: string) => {
Copy link
Contributor

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

@namchuai namchuai marked this pull request as ready for review December 14, 2023 07:00
@namchuai namchuai merged commit 5aabc47 into refactor/api-handlers Dec 14, 2023
@namchuai namchuai deleted the feature/add-api-support branch December 14, 2023 07:00
louis-jan pushed a commit that referenced this pull request Dec 25, 2023
louis-jan pushed a commit that referenced this pull request Dec 28, 2023
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
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants