Skip to content

Commit

Permalink
Refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
StreetLamb committed Jun 9, 2024
1 parent 2e0db9f commit 5fe98ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions frontend/src/components/Members/EditMember.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,6 @@ export function EditMember({
</FormControl>
)}
/>
<FormControl mt={4}>
<FormLabel htmlFor="interrupt">Human In The Loop</FormLabel>
<Checkbox {...register("interrupt")}>
Require approval before executing skills.
</Checkbox>
</FormControl>
<FormControl mt={4} isRequired isInvalid={!!errors.role}>
<FormLabel htmlFor="provider">Provider</FormLabel>
<Select
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/Teams/ChatTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ const ChatTeam = () => {
buffer = buffer.slice(boundary + 2)
if (chunk.startsWith("data: ")) {
const jsonStr = chunk.slice(6) // Remove 'data: ' prefix
console.log(jsonStr)
try {
const parsed = JSON.parse(jsonStr)
const newMessages: Message[] = []
Expand Down

0 comments on commit 5fe98ce

Please sign in to comment.