Skip to content

Commit

Permalink
Remove incomplete feature code (#48)
Browse files Browse the repository at this point in the history
* Refactor code

* Remove unused imports
  • Loading branch information
StreetLamb authored Jun 9, 2024
1 parent 2e0db9f commit 692adf6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions frontend/src/components/Members/EditMember.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
Button,
Checkbox,
FormControl,
FormErrorMessage,
FormLabel,
Expand Down Expand Up @@ -239,12 +238,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 692adf6

Please sign in to comment.