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

add javascript call console action #722

Merged
merged 10 commits into from
Aug 9, 2024
Merged

add javascript call console action #722

merged 10 commits into from
Aug 9, 2024

Conversation

wangting829
Copy link
Collaborator

@wangting829 wangting829 commented Aug 9, 2024

throw new Error('请设置QIANFAN_ACCESS_KEY/QIANFAN_SECRET_KEY');
}
// setEnvVariable('QIANFAN_ACCESS_KEY','***');
// setEnvVariable('QIANFAN_SECRET_KEY','***');
Copy link
Collaborator

Choose a reason for hiding this comment

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

可以删一下多余的注释?

Copy link
Collaborator

@danielhjz danielhjz left a comment

Choose a reason for hiding this comment

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

other LGTM

@stonekim stonekim added the doc Improvements or additions to documentation label Aug 9, 2024
@wangting829 wangting829 merged commit 811fd95 into main Aug 9, 2024
3 checks passed
@wangting829 wangting829 mentioned this pull request Aug 9, 2024
danielhjz added a commit that referenced this pull request Aug 9, 2024
* support custom retry codes (#715)

* feat:【js】ernie-lite-v (#717)

Co-authored-by: wangting31 <wangting31@baidu.com>

* add javascript call console action (#722)

* fix: lock文件

* feat:【js】ernie-lite-v

* feat: add javascript call console action

* support custom retry codes (#715)

* feat: add go call console action

* feat: add js call console action

* feat: consoleAPI文档

* feat: consoleAPI文档

* feat: 版本号更新

---------

Co-authored-by: wangting31 <wangting31@baidu.com>
Co-authored-by: Liu Jun <liujun45@baidu.com>

* Update js_release.yml poetry install (#723)

* 修复key error报错 (#714)

* fix bugs

* Update stress_test.md

* Update stress_test.md

---------

Co-authored-by: NuODaniel <zhonghanjun@baidu.com>

* 修复了因为字段不完整导致无法正常使用多轮functioncall请求的问题 (#721)

* 修复了message字段中role为function时,name字段缺失导致中断的问题

* Update openapi_requestor.py

* Update openapi_requestor.py

* Update openapi_requestor.py

* feat: support trainer with AFS

---------

Co-authored-by: Liu Jun <liujun45@baidu.com>
Co-authored-by: wangting829 <1940087162@qq.com>
Co-authored-by: wangting31 <wangting31@baidu.com>
Co-authored-by: AlexT <60740185+Alex-TG001@users.noreply.github.com>
danielhjz added a commit that referenced this pull request Aug 9, 2024
* fix: finetune api & fix no_auth

* feat: support trainer with AFS (#729)

* support custom retry codes (#715)

* feat:【js】ernie-lite-v (#717)

Co-authored-by: wangting31 <wangting31@baidu.com>

* add javascript call console action (#722)

* fix: lock文件

* feat:【js】ernie-lite-v

* feat: add javascript call console action

* support custom retry codes (#715)

* feat: add go call console action

* feat: add js call console action

* feat: consoleAPI文档

* feat: consoleAPI文档

* feat: 版本号更新

---------

Co-authored-by: wangting31 <wangting31@baidu.com>
Co-authored-by: Liu Jun <liujun45@baidu.com>

* Update js_release.yml poetry install (#723)

* 修复key error报错 (#714)

* fix bugs

* Update stress_test.md

* Update stress_test.md

---------

Co-authored-by: NuODaniel <zhonghanjun@baidu.com>

* 修复了因为字段不完整导致无法正常使用多轮functioncall请求的问题 (#721)

* 修复了message字段中role为function时,name字段缺失导致中断的问题

* Update openapi_requestor.py

* Update openapi_requestor.py

* Update openapi_requestor.py

* feat: support trainer with AFS

---------

Co-authored-by: Liu Jun <liujun45@baidu.com>
Co-authored-by: wangting829 <1940087162@qq.com>
Co-authored-by: wangting31 <wangting31@baidu.com>
Co-authored-by: AlexT <60740185+Alex-TG001@users.noreply.github.com>

* fix: lint

---------

Co-authored-by: Liu Jun <liujun45@baidu.com>
Co-authored-by: wangting829 <1940087162@qq.com>
Co-authored-by: wangting31 <wangting31@baidu.com>
Co-authored-by: AlexT <60740185+Alex-TG001@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Improvements or additions to documentation language/go language/js
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants