Skip to content

Conversation

@forrestlinfeng
Copy link

@forrestlinfeng forrestlinfeng commented Aug 16, 2024

💻 变更类型 | Change Type

  • feat
  • fix
  • refactor
  • perf
  • style
  • test
  • docs
  • ci
  • chore
  • build

🔀 变更说明 | Description of Change

  1. 增加阶跃星辰的模型
    • step-1-8k
    • step-1-32k
    • step-1-128k
    • step-1-256k
    • step-1v-8k
    • step-1v-32k
    • step-2-16k
    • step-1-flash

📝 补充信息 | Additional Information

Summary by CodeRabbit

  • New Features

    • Introduced support for the Stepfun API, enhancing overall application functionality.
    • Added a configuration component for the Stepfun service in the settings.
    • Integrated localization for Stepfun in both Chinese and English versions.
    • Expanded access store to manage and validate Stepfun API credentials.
  • Bug Fixes

    • Improved authentication handling for the Stepfun model provider.
  • Documentation

    • Updated localization files to include new entries for Stepfun.
  • Chores

    • Made environment variable configurations for Stepfun available across the application.

@vercel
Copy link

vercel bot commented Aug 16, 2024

@forrestlinfeng is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 16, 2024

Walkthrough

The recent updates enhance the application by integrating support for a new service provider, Stepfun. This includes routing API requests, authentication, and client interactions specifically tailored for Stepfun. New components for configuration and localization have been added, while existing structures were modified to accommodate the additional functionality seamlessly. Overall, these changes enrich user experience and expand the application’s capabilities.

Changes

Files Change Summary
app/api/[provider]/[...path]/route.ts, app/api/auth.ts, app/api/stepfun.ts, app/client/api.ts, app/client/platforms/stepfun.ts, app/components/settings.tsx Introduced routing and handling for the Stepfun API, including authentication logic and client integration.
app/config/server.ts, app/constant.ts, app/locales/cn.ts, app/locales/en.ts, app/store/access.ts Added new configurations, constants, and localization entries for the Stepfun service, enhancing server-side management and user interface.

Sequence Diagram(s)

sequenceDiagram
    participant Client
    participant APIHandler
    participant Auth
    participant StepfunAPI

    Client->>APIHandler: Request to Stepfun
    APIHandler->>Auth: Authenticate request
    Auth-->>APIHandler: Return auth status
    alt Auth success
        APIHandler->>StepfunAPI: Forward request
        StepfunAPI-->>APIHandler: Return response
        APIHandler-->>Client: Send response
    else Auth failure
        APIHandler-->>Client: Return 401 Unauthorized
    end
Loading

🐇 In the fields where bunnies hop,
New changes make the features pop!
Stepfun joins the joyful play,
Enhancing all in a fun, swift way!
With routes and keys, the code does sing,
A brighter future for everything! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Outside diff range, codebase verification and nitpick comments (2)
app/store/access.ts (1)

46-48: Add a comment for DEFAULT_STEPFUN_URL.

Consider adding a comment to explain the purpose of DEFAULT_STEPFUN_URL for better maintainability and clarity.

+// Default URL for Stepfun service based on the build mode
const DEFAULT_STEPFUN_URL = isApp
  ? DEFAULT_API_HOST + "/api/proxy/stepfun"
  : ApiPath.Stepfun;
app/config/server.ts (1)

65-67: Document the new environment variables.

Consider documenting the STEPFUN_URL and STEPFUN_API_KEY environment variables to ensure they are correctly set and used in different environments.

+// Environment variables for Stepfun service
STEPFUN_URL?: string;
STEPFUN_API_KEY?: string;
Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 495b321 and 355aaf3.

Files selected for processing (11)
  • app/api/[provider]/[...path]/route.ts (2 hunks)
  • app/api/auth.ts (1 hunks)
  • app/api/stepfun.ts (1 hunks)
  • app/client/api.ts (5 hunks)
  • app/client/platforms/stepfun.ts (1 hunks)
  • app/components/settings.tsx (3 hunks)
  • app/config/server.ts (3 hunks)
  • app/constant.ts (9 hunks)
  • app/locales/cn.ts (1 hunks)
  • app/locales/en.ts (1 hunks)
  • app/store/access.ts (4 hunks)
Additional comments not posted (25)
app/api/[provider]/[...path]/route.ts (2)

34-35: Check routing logic for Stepfun API.

The case for ApiPath.Stepfun has been added to the switch statement. Ensure that this logic correctly routes requests to the Stepfun API.


10-10: Ensure the stepfunHandler is correctly implemented.

The import statement for stepfunHandler has been added. Verify that the stepfunHandler is correctly implemented in the stepfun module and adheres to the expected interface.

Verification successful

The stepfunHandler is correctly implemented.

The handle function in the stepfun module is implemented with the expected functionality. It handles requests appropriately, including authentication and error handling. No issues were found with its implementation.

  • Location: app/api/stepfun.ts (lines 17-41)
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the implementation of `stepfunHandler`.

# Test: Search for the `stepfunHandler` function implementation. Expect: A valid function definition.
ast-grep --lang typescript --pattern $'function stepfunHandler($_, $_) { $$$ }'

Length of output: 80


Script:

#!/bin/bash
# Search for the `handle` function in the `stepfun` module to verify its implementation.
ast-grep --lang typescript --pattern $'function handle($_, $_) { $$$ }'

Length of output: 39852

app/api/auth.ts (1)

88-90: Ensure stepfunApiKey is configured correctly.

The ModelProvider.Stepfun case assigns systemApiKey to serverConfig.stepfunApiKey. Verify that stepfunApiKey is correctly configured in the server configuration.

app/api/stepfun.ts (2)

17-41: Review the Stepfun API request handling logic.

The handle function manages the request flow, including authentication and error handling. Ensure that the logic is robust and correctly handles different HTTP methods and errors.


43-131: Check the request function for potential improvements.

The request function handles the proxying of requests to the Stepfun API. Consider the following:

  • Timeout Handling: The timeout is set to 10 minutes. Verify if this duration is appropriate for the expected use case.
  • Error Handling: Ensure that errors are logged and handled appropriately.
  • Headers Management: The function modifies headers, such as removing www-authenticate. Verify that these changes align with the intended behavior.
app/store/access.ts (3)

175-177: LGTM! Ensure isValidStepfun is correctly integrated.

The isValidStepfun function looks good. Ensure it is correctly integrated into the overall validation logic.


199-200: Ensure isValidStepfun is correctly invoked.

The isValidStepfun check is added to the isAuthorized function. Verify that it is correctly invoked in all necessary contexts.


114-116: Ensure stepfunApiKey is securely handled.

The stepfunApiKey is initialized as an empty string. Ensure that it is securely handled and not logged or exposed inappropriately.

Verification successful

stepfunApiKey is securely handled.

The stepfunApiKey does not appear to be logged or exposed through network requests or other logging mechanisms in the codebase. No occurrences were found indicating insecure handling.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any logging or exposure of `stepfunApiKey`.

# Test: Search for any console logs or exposures of `stepfunApiKey`. Expect: No occurrences.
rg --type javascript 'console\.log\(.*stepfunApiKey.*\)'

Length of output: 93


Script:

#!/bin/bash
# Description: Check for any logging or exposure of `stepfunApiKey`.

# Test: Search for any console logs or exposures of `stepfunApiKey`. Expect: No occurrences.
rg 'console\.log\(.*stepfunApiKey.*\)' --glob '*.js'

Length of output: 54


Script:

#!/bin/bash
# Description: Check for any network requests or other logging mechanisms involving `stepfunApiKey`.

# Test: Search for any network requests containing `stepfunApiKey`. Expect: No occurrences.
rg 'fetch\(.*stepfunApiKey.*\)' --glob '*.js'

# Test: Search for any other logging methods containing `stepfunApiKey`. Expect: No occurrences.
rg 'logger\.log\(.*stepfunApiKey.*\)' --glob '*.js'

Length of output: 101

app/config/server.ts (1)

204-206: LGTM! Ensure server-side configuration is secure.

The server-side configuration for Stepfun looks good. Ensure that sensitive information, such as API keys, is handled securely.

app/client/platforms/stepfun.ts (1)

248-250: Implement model listing logic.

The models method currently returns an empty array. Implement logic to list available models from the Stepfun service.

Verification successful

Implement model listing logic.

The models method currently returns an empty array, and there is no implementation found in the codebase. Please implement the logic to list available models from the Stepfun service as suggested in the review comment.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if model listing logic is implemented.

# Test: Search for implementation of model listing logic. Expect: Implementation details.
rg --type javascript 'StepfunApi.*models'

Length of output: 78


Script:

#!/bin/bash
# Description: Check if model listing logic is implemented.

# Test: Search for implementation of model listing logic in JavaScript files.
rg --type js 'StepfunApi.*models'

Length of output: 35


Script:

#!/bin/bash
# Description: Check for any implementation of the models method in JavaScript files.

# Test: Search for any models method implementation.
rg --type js 'models'

Length of output: 21

app/client/api.ts (4)

16-16: Import statement for StepfunApi looks good.

The import is necessary for integrating the Stepfun API into the ClientApi class.


132-134: Integration of Stepfun in ClientApi constructor is correct.

The addition of ModelProvider.Stepfun case correctly initializes the StepfunApi.


Line range hint 223-238: Header configuration for Stepfun is correctly implemented.

The addition of isStepfun and the branch for stepfunApiKey ensures proper header setup for Stepfun.


306-307: Stefun integration in getClientApi is correctly implemented.

The addition of ServiceProvider.Stepfun case correctly returns a new ClientApi instance for Stepfun.

app/constant.ts (7)

28-28: STEPFUN_BASE_URL constant addition is correct.

The constant is necessary for interacting with the Stepfun API.


59-59: ApiPath enum update for Stepfun is correct.

The addition of Stepfun ensures integration into the existing API path structure.


116-116: ServiceProvider enum update for Stepfun is correct.

The addition of Stepfun ensures it is recognized as a service provider.


140-140: ModelProvider enum update for Stepfun is correct.

The addition of Stepfun ensures it is recognized as a model provider.


214-217: Stepfun constant addition is correct.

The constant provides structured access to Stepfun's API endpoints.


348-357: stepfunModels array addition is correct.

The array facilitates the management and access of Stepfun models within the application.


459-469: Inclusion of stepfunModels in DEFAULT_MODELS is correct.

This inclusion ensures that Stepfun models are available alongside other existing models.

app/locales/cn.ts (1)

397-406: Localization entries for Stepfun are correctly added.

These entries enhance localization support for Chinese-speaking users interacting with the Stepfun API.

app/locales/en.ts (1)

381-390: Localization entries for Stepfun look good!

The new entries for Stepfun's API key and endpoint are consistent with the existing localization structure and provide clear guidance for users.

app/components/settings.tsx (2)

1047-1086: Stepfun configuration component is well-integrated!

The Stepfun configuration component follows the established pattern for other providers, ensuring consistency in user experience. Input fields are appropriately labeled and connected to the access store.


1624-1624: Stepfun component integration is correct!

The Stepfun configuration component is correctly integrated into the settings, ensuring it is displayed only when Stepfun is the selected provider.

Comment on lines 69 to 239
async chat(options: ChatOptions) {
const messages: ChatOptions["messages"] = [];
for (const v of options.messages) {
const content = getMessageTextContent(v);
messages.push({ role: v.role, content });
}

const modelConfig = {
...useAppConfig.getState().modelConfig,
...useChatStore.getState().currentSession().mask.modelConfig,
...{
model: options.config.model,
providerName: options.config.providerName,
},
};

const requestPayload: RequestPayload = {
messages,
stream: options.config.stream,
model: modelConfig.model,
temperature: modelConfig.temperature,
presence_penalty: modelConfig.presence_penalty,
frequency_penalty: modelConfig.frequency_penalty,
top_p: modelConfig.top_p,
// max_tokens: Math.max(modelConfig.max_tokens, 1024),
// Please do not ask me why not send max_tokens, no reason, this param is just shit, I dont want to explain anymore.
};

console.log("[Request] openai payload: ", requestPayload);

const shouldStream = !!options.config.stream;
const controller = new AbortController();
options.onController?.(controller);

try {
const chatPath = this.path(Stepfun.ChatPath);
const chatPayload = {
method: "POST",
body: JSON.stringify(requestPayload),
signal: controller.signal,
headers: getHeaders(),
};

// make a fetch request
const requestTimeoutId = setTimeout(
() => controller.abort(),
REQUEST_TIMEOUT_MS,
);

if (shouldStream) {
let responseText = "";
let remainText = "";
let finished = false;

// animate response to make it looks smooth
function animateResponseText() {
if (finished || controller.signal.aborted) {
responseText += remainText;
console.log("[Response Animation] finished");
if (responseText?.length === 0) {
options.onError?.(new Error("empty response from server"));
}
return;
}

if (remainText.length > 0) {
const fetchCount = Math.max(1, Math.round(remainText.length / 60));
const fetchText = remainText.slice(0, fetchCount);
responseText += fetchText;
remainText = remainText.slice(fetchCount);
options.onUpdate?.(responseText, fetchText);
}

requestAnimationFrame(animateResponseText);
}

// start animaion
animateResponseText();

const finish = () => {
if (!finished) {
finished = true;
options.onFinish(responseText + remainText);
}
};

controller.signal.onabort = finish;

fetchEventSource(chatPath, {
...chatPayload,
async onopen(res) {
clearTimeout(requestTimeoutId);
const contentType = res.headers.get("content-type");
console.log(
"[OpenAI] request response content type: ",
contentType,
);

if (contentType?.startsWith("text/plain")) {
responseText = await res.clone().text();
return finish();
}

if (
!res.ok ||
!res.headers
.get("content-type")
?.startsWith(EventStreamContentType) ||
res.status !== 200
) {
const responseTexts = [responseText];
let extraInfo = await res.clone().text();
try {
const resJson = await res.clone().json();
extraInfo = prettyObject(resJson);
} catch {}

if (res.status === 401) {
responseTexts.push(Locale.Error.Unauthorized);
}

if (extraInfo) {
responseTexts.push(extraInfo);
}

responseText = responseTexts.join("\n\n");

return finish();
}
},
onmessage(msg) {
if (msg.data === "[DONE]" || finished) {
return finish();
}
const text = msg.data;
try {
const json = JSON.parse(text);
const choices = json.choices as Array<{
delta: { content: string };
}>;
const delta = choices[0]?.delta?.content;
const textmoderation = json?.prompt_filter_results;

if (delta) {
remainText += delta;
}
} catch (e) {
console.error("[Request] parse error", text, msg);
}
},
onclose() {
finish();
},
onerror(e) {
options.onError?.(e);
throw e;
},
openWhenHidden: true,
});
} else {
const res = await fetch(chatPath, chatPayload);
clearTimeout(requestTimeoutId);

const resJson = await res.json();
const message = this.extractMessage(resJson);
options.onFinish(message);
}
} catch (e) {
console.log("[Request] failed to make a chat request", e);
options.onError?.(e as Error);
}
Copy link
Contributor

@coderabbitai coderabbitai bot Aug 16, 2024

Choose a reason for hiding this comment

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

Enhance error handling in chat method.

The chat method could benefit from more robust error handling, especially for network errors and response parsing.

try {
  const chatPath = this.path(Stepfun.ChatPath);
  const chatPayload = {
    method: "POST",
    body: JSON.stringify(requestPayload),
    signal: controller.signal,
    headers: getHeaders(),
  };

  // make a fetch request
  const requestTimeoutId = setTimeout(
    () => controller.abort(),
    REQUEST_TIMEOUT_MS,
  );

  if (shouldStream) {
    // Streaming logic
  } else {
    const res = await fetch(chatPath, chatPayload);
    clearTimeout(requestTimeoutId);

    if (!res.ok) {
      throw new Error(`Request failed with status ${res.status}`);
    }

    const resJson = await res.json();
    const message = this.extractMessage(resJson);
    options.onFinish(message);
  }
} catch (e) {
  console.error("[Request] failed to make a chat request", e);
  options.onError?.(e as Error);
}
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
async chat(options: ChatOptions) {
const messages: ChatOptions["messages"] = [];
for (const v of options.messages) {
const content = getMessageTextContent(v);
messages.push({ role: v.role, content });
}
const modelConfig = {
...useAppConfig.getState().modelConfig,
...useChatStore.getState().currentSession().mask.modelConfig,
...{
model: options.config.model,
providerName: options.config.providerName,
},
};
const requestPayload: RequestPayload = {
messages,
stream: options.config.stream,
model: modelConfig.model,
temperature: modelConfig.temperature,
presence_penalty: modelConfig.presence_penalty,
frequency_penalty: modelConfig.frequency_penalty,
top_p: modelConfig.top_p,
// max_tokens: Math.max(modelConfig.max_tokens, 1024),
// Please do not ask me why not send max_tokens, no reason, this param is just shit, I dont want to explain anymore.
};
console.log("[Request] openai payload: ", requestPayload);
const shouldStream = !!options.config.stream;
const controller = new AbortController();
options.onController?.(controller);
try {
const chatPath = this.path(Stepfun.ChatPath);
const chatPayload = {
method: "POST",
body: JSON.stringify(requestPayload),
signal: controller.signal,
headers: getHeaders(),
};
// make a fetch request
const requestTimeoutId = setTimeout(
() => controller.abort(),
REQUEST_TIMEOUT_MS,
);
if (shouldStream) {
let responseText = "";
let remainText = "";
let finished = false;
// animate response to make it looks smooth
function animateResponseText() {
if (finished || controller.signal.aborted) {
responseText += remainText;
console.log("[Response Animation] finished");
if (responseText?.length === 0) {
options.onError?.(new Error("empty response from server"));
}
return;
}
if (remainText.length > 0) {
const fetchCount = Math.max(1, Math.round(remainText.length / 60));
const fetchText = remainText.slice(0, fetchCount);
responseText += fetchText;
remainText = remainText.slice(fetchCount);
options.onUpdate?.(responseText, fetchText);
}
requestAnimationFrame(animateResponseText);
}
// start animaion
animateResponseText();
const finish = () => {
if (!finished) {
finished = true;
options.onFinish(responseText + remainText);
}
};
controller.signal.onabort = finish;
fetchEventSource(chatPath, {
...chatPayload,
async onopen(res) {
clearTimeout(requestTimeoutId);
const contentType = res.headers.get("content-type");
console.log(
"[OpenAI] request response content type: ",
contentType,
);
if (contentType?.startsWith("text/plain")) {
responseText = await res.clone().text();
return finish();
}
if (
!res.ok ||
!res.headers
.get("content-type")
?.startsWith(EventStreamContentType) ||
res.status !== 200
) {
const responseTexts = [responseText];
let extraInfo = await res.clone().text();
try {
const resJson = await res.clone().json();
extraInfo = prettyObject(resJson);
} catch {}
if (res.status === 401) {
responseTexts.push(Locale.Error.Unauthorized);
}
if (extraInfo) {
responseTexts.push(extraInfo);
}
responseText = responseTexts.join("\n\n");
return finish();
}
},
onmessage(msg) {
if (msg.data === "[DONE]" || finished) {
return finish();
}
const text = msg.data;
try {
const json = JSON.parse(text);
const choices = json.choices as Array<{
delta: { content: string };
}>;
const delta = choices[0]?.delta?.content;
const textmoderation = json?.prompt_filter_results;
if (delta) {
remainText += delta;
}
} catch (e) {
console.error("[Request] parse error", text, msg);
}
},
onclose() {
finish();
},
onerror(e) {
options.onError?.(e);
throw e;
},
openWhenHidden: true,
});
} else {
const res = await fetch(chatPath, chatPayload);
clearTimeout(requestTimeoutId);
const resJson = await res.json();
const message = this.extractMessage(resJson);
options.onFinish(message);
}
} catch (e) {
console.log("[Request] failed to make a chat request", e);
options.onError?.(e as Error);
}
try {
const chatPath = this.path(Stepfun.ChatPath);
const chatPayload = {
method: "POST",
body: JSON.stringify(requestPayload),
signal: controller.signal,
headers: getHeaders(),
};
// make a fetch request
const requestTimeoutId = setTimeout(
() => controller.abort(),
REQUEST_TIMEOUT_MS,
);
if (shouldStream) {
// Streaming logic
} else {
const res = await fetch(chatPath, chatPayload);
clearTimeout(requestTimeoutId);
if (!res.ok) {
throw new Error(`Request failed with status ${res.status}`);
}
const resJson = await res.json();
const message = this.extractMessage(resJson);
options.onFinish(message);
}
} catch (e) {
console.error("[Request] failed to make a chat request", e);
options.onError?.(e as Error);
}

Copy link
Author

Choose a reason for hiding this comment

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

updated

Copy link
Contributor

Choose a reason for hiding this comment

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

@forrestlinfeng, great to hear that you've made the update! If you have any more questions or need further assistance, feel free to ask. 😊

@github-actions
Copy link
Contributor

Your build has completed!

Preview deployment

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 355aaf3 and 8c1b3d9.

Files selected for processing (1)
  • app/client/platforms/stepfun.ts (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • app/client/platforms/stepfun.ts

@forrestlinfeng
Copy link
Author

@forrestlinfeng is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

how to authorize NextChat??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant