Skip to content

Commit

Permalink
Clean up after rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
lasryaric committed Sep 8, 2023
1 parent 8762860 commit 83075c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions front/lib/api/assistant/pubsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import {
AgentActionSuccessEvent,
AgentErrorEvent,
AgentGenerationSuccessEvent,
AgentGenerationTokensEvent,
AgentMessageNewEvent,
} from "@app/lib/api/assistant/agent";
import {
AgentMessageNewEvent,
postUserMessage,
UserMessageNewEvent,
} from "@app/lib/api/assistant/conversation";
import { GenerationTokensEvent } from "@app/lib/api/assistant/generation";
import { Authenticator } from "@app/lib/auth";
import { redisClient } from "@app/lib/redis";
import logger from "@app/logger/logger";
Expand Down Expand Up @@ -115,7 +115,7 @@ export async function* getMessagesEvents(
| AgentErrorEvent
| AgentActionEvent
| AgentActionSuccessEvent
| AgentGenerationTokensEvent
| GenerationTokensEvent
| AgentGenerationSuccessEvent;
}> {
const pubsubChannel = getMessageChannelId(messageId);
Expand Down
2 changes: 1 addition & 1 deletion front/lib/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export async function redisClient() {
if (REDIS_CLIENT) {
return REDIS_CLIENT;
}
const {REDIS_URI} = process.env;
const { REDIS_URI } = process.env;
if (!REDIS_URI) {
throw new Error("REDIS_URI is not defined");
}
Expand Down

0 comments on commit 83075c9

Please sign in to comment.