Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
isnolan committed Apr 28, 2024
1 parent f6091d5 commit 41c9629
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/bodhi-adapter/dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,6 @@ var AliyunQwenAPI = class extends ChatBaseAPI {
const model = isMulti ? opts.model.replace('-', '-vl-') : opts.model;
const url = `${this.baseURL}/services/aigc/${isMulti ? 'multimodal' : 'text'}-generation/generation`;
const params = await this.convertParams(model, options);
console.log(`[fetch]params`, JSON.stringify(params, null, 2));
const res = await (0, import_node_fetch8.default)(url, {
headers: {
'Content-Type': 'application/json',
Expand Down
2 changes: 1 addition & 1 deletion packages/bodhi-adapter/dist/index.cjs.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/bodhi-adapter/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/bodhi-adapter/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/bodhi-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@isnolan/bodhi-adapter",
"version": "0.5.4",
"version": "0.5.5",
"description": "llms adapter api for bodhi",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/bodhi-adapter/src/provider/aliyun/qwen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class AliyunQwenAPI extends ChatBaseAPI {
const model = isMulti ? opts.model.replace('-', '-vl-') : opts.model;
const url = `${this.baseURL}/services/aigc/${isMulti ? 'multimodal' : 'text'}-generation/generation`;
const params: aliyun.Request = await this.convertParams(model, options);
console.log(`[fetch]params`, JSON.stringify(params, null, 2));
// console.log(`[fetch]params`, JSON.stringify(params, null, 2));

const res = await fetchSSE(url, {
headers: {
Expand Down

0 comments on commit 41c9629

Please sign in to comment.