feat: allow to disable auth during development (#21)
This commit is contained in:
@@ -47,7 +47,7 @@ export function ChatImpl({ initialMessages, storeMessageHistory }: ChatProps) {
|
||||
const { messages, isLoading, input, handleInputChange, setInput, handleSubmit, stop, append } = useChat({
|
||||
api: '/api/chat',
|
||||
onError: (error) => {
|
||||
logger.error(error);
|
||||
logger.error('Request failed\n\n', error);
|
||||
toast.error('There was an error processing your request');
|
||||
},
|
||||
onFinish: () => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ClientOnly } from 'remix-utils/client-only';
|
||||
import { OpenStackBlitz } from './OpenStackBlitz.client';
|
||||
import { IconButton } from '~/components/ui/IconButton';
|
||||
import { OpenStackBlitz } from './OpenStackBlitz.client';
|
||||
|
||||
export function Header() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user