Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hoopan007/lobe-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
hoopan007 committed Nov 8, 2024
2 parents dfa7232 + def1bd4 commit 7566c72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/modules/AgentRuntime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ export const initAgentRuntimeWithUserPayload = (
payload: JWTPayload,
params: any = {},
) => {
// TODO: 根据payload.userId 从rylai获取OneAI的apiKey
console.log('payload', payload);
return AgentRuntime.initializeWithProviderOptions(provider, {
[provider]: { ...getLlmOptionsFromPayload(provider, payload), ...params },
});
Expand Down

0 comments on commit 7566c72

Please sign in to comment.