-
Notifications
You must be signed in to change notification settings - Fork 54
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: 浏览器增加鉴权开关 & 流式数据切分优化 #689
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
Collaborator
wangting829
commented
Jul 23, 2024
- Description: 浏览器增加鉴权开关 & 流式数据切分优化,
- Issue: the issue 浏览器增加鉴权开关 & 流式数据切分优化 #688,
- Tag maintainer: @dl102306, @stonekim, @danielhjz, @ZingLix @Dobiichi-Origami .
dl102306
approved these changes
Jul 23, 2024
danielhjz
reviewed
Jul 23, 2024
javascript/src/Base/index.ts
Outdated
@@ -49,6 +50,7 @@ export class BaseClient { | |||
QIANFAN_LLM_API_RETRY_BACKOFF_FACTOR?: string; | |||
QIANFAN_LLM_API_RETRY_COUNT?: string; | |||
QIANFAN_LLM_RETRY_MAX_WAIT_INTERVAL?: string; | |||
ENABLE_AUTHENTICATION: boolean; |
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.
ENABLE_OAUTH
danielhjz
added a commit
that referenced
this pull request
Jul 26, 2024
…ion chat call (#693) * bug: 升级了 function call 字段的返回结构体以适配 langchain function call (#687) * 升级了 function call 字段的返回结构体 * 格式化 * update: openai_adapter.ipynb * feat: 浏览器增加鉴权开关 & 流式数据切分优化 (#689) * feat: 浏览器增加鉴权开关 & 流式数据切分优化 * fix: 鉴权开关字段修改& 更新版本号 * fix: 鉴权开关字段修改& 更新版本号 --------- Co-authored-by: wangting31 <wangting31@baidu.com> * fix: remove ipynb useless content * fix: replace ERNIE-Bot description * fix: add trainer cli info docs & remove ernie-bot in ipynb * fix: remove useless or ambiguous content (#690) * fix: remove ipynb useless content * fix: replace ERNIE-Bot description * fix: add trainer cli info docs & remove ernie-bot in ipynb * fix[trainer]: cli trainer * fix[resources]: functions passthourgh req warning * chore: add trainer_ppl_file_tmpl.json --------- Co-authored-by: Dobiichi-Origami <56953648+Dobiichi-Origami@users.noreply.github.com> Co-authored-by: stonekim <shikuan@baidu.com> Co-authored-by: wangting829 <1940087162@qq.com> Co-authored-by: wangting31 <wangting31@baidu.com>
danielhjz
added a commit
that referenced
this pull request
Jul 26, 2024
* 支持透传,accesstoken * feat-pyproxy_direct 兼容了--accesstoken和透传的各种情况,修复bug * 修复无accesstoken也可鉴权的情况 * 修复了js众测中 流式不报错的问题 * Update proxy.py * 删除冗余注释 * Update proxy.py * fix[trainer]: fix client trainer info not work with --taks-id / function chat call (#693) * bug: 升级了 function call 字段的返回结构体以适配 langchain function call (#687) * 升级了 function call 字段的返回结构体 * 格式化 * update: openai_adapter.ipynb * feat: 浏览器增加鉴权开关 & 流式数据切分优化 (#689) * feat: 浏览器增加鉴权开关 & 流式数据切分优化 * fix: 鉴权开关字段修改& 更新版本号 * fix: 鉴权开关字段修改& 更新版本号 --------- Co-authored-by: wangting31 <wangting31@baidu.com> * fix: remove ipynb useless content * fix: replace ERNIE-Bot description * fix: add trainer cli info docs & remove ernie-bot in ipynb * fix: remove useless or ambiguous content (#690) * fix: remove ipynb useless content * fix: replace ERNIE-Bot description * fix: add trainer cli info docs & remove ernie-bot in ipynb * fix[trainer]: cli trainer * fix[resources]: functions passthourgh req warning * chore: add trainer_ppl_file_tmpl.json --------- Co-authored-by: Dobiichi-Origami <56953648+Dobiichi-Origami@users.noreply.github.com> Co-authored-by: stonekim <shikuan@baidu.com> Co-authored-by: wangting829 <1940087162@qq.com> Co-authored-by: wangting31 <wangting31@baidu.com> * feat[stat]: add star_timestamp (#685) * feat[requestor]: add start_timestamp statis in python requestor * chore: update version->0.4.1rc0 * chore: bump version-> 0.4.3 --------- Co-authored-by: NuODaniel <zhonghanjun@baidu.com> Co-authored-by: Dobiichi-Origami <56953648+Dobiichi-Origami@users.noreply.github.com> Co-authored-by: stonekim <shikuan@baidu.com> Co-authored-by: wangting829 <1940087162@qq.com> Co-authored-by: wangting31 <wangting31@baidu.com>
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.