Skip to content

Commit

Permalink
copilot wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fwbrasil committed Dec 8, 2023
1 parent b555eb6 commit 3340d9d
Show file tree
Hide file tree
Showing 5 changed files with 740 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,23 @@ lazy val `kyo-llm` =
)
.jsSettings(`js-settings`)

lazy val `kyo-copilot` =
crossProject(JSPlatform, JVMPlatform)
.withoutSuffixFor(JVMPlatform)
.crossType(CrossType.Full)
.in(file("kyo-copilot"))
.dependsOn(`kyo-llm`)
.dependsOn(`kyo-core` % "test->test;compile->compile")
.settings(
`kyo-settings`,
`without-cross-scala`,
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.14",
libraryDependencies += "com.eed3si9n.eval" % "eval_3.3.1" % "0.3.0",
assemblyMergeStrategy := (_ => MergeStrategy.last),
assembly / mainClass := Some("kyo.copilot.internal.SeedGen")
)
.jsSettings(`js-settings`)

lazy val `kyo-bench` =
crossProject(JVMPlatform)
.withoutSuffixFor(JVMPlatform)
Expand Down
11 changes: 11 additions & 0 deletions kyo-copilot/shared/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>

<root level="DEBUG">
<appender-ref ref="STDOUT" />
</root>
</configuration>
Loading

0 comments on commit 3340d9d

Please sign in to comment.