Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski committed Dec 12, 2024
1 parent 3678096 commit 78d4343
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package com.simiacryptus.skyenet.apps.plan

import org.jsoup.nodes.Node

private fun Node.text(): String {
fun Node.text(): String {
return this.childNodes().joinToString("") { it.text() }
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.slf4j.LoggerFactory
class ForeachTask(
planSettings: PlanSettings,
planTask: ForeachTaskConfigData?
) : AbstractTask<ForeachTaskConfigData>(planSettings, planTask) {
) : AbstractTask<ForeachTask.ForeachTaskConfigData>(planSettings, planTask) {

class ForeachTaskConfigData(
@Description("A list of items over which the ForEach task will iterate. (Only applicable for ForeachTask tasks) Can be used to process outputs from previous tasks.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import kotlin.reflect.KClass
class RunShellCommandTask(
planSettings: PlanSettings,
planTask: RunShellCommandTaskConfigData?
) : AbstractTask<RunShellCommandTaskConfigData>(planSettings, planTask) {
) : AbstractTask<RunShellCommandTask.RunShellCommandTaskConfigData>(planSettings, planTask) {

class RunShellCommandTaskConfigData(
@Description("The shell command to be executed")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.simiacryptus.jopenai.ChatClient
import com.simiacryptus.jopenai.OpenAIClient
import com.simiacryptus.jopenai.describe.Description
import com.simiacryptus.skyenet.apps.plan.*
import com.simiacryptus.skyenet.apps.plan.tools.WebFetchAndTransformTask.Companion.scrubHtml
import com.simiacryptus.skyenet.core.util.Selenium
import com.simiacryptus.skyenet.util.MarkdownUtil
import com.simiacryptus.skyenet.util.Selenium2S3
Expand Down

0 comments on commit 78d4343

Please sign in to comment.