Skip to content

Commit

Permalink
fix kotlin build
Browse files Browse the repository at this point in the history
  • Loading branch information
beyang committed Dec 27, 2024
1 parent 30145b9 commit e768a49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data class SerializedChatMessage(
val intent: IntentEnum? = null, // Oneof: search, chat, edit, insert
val manuallySelectedIntent: ManuallySelectedIntentEnum? = null, // Oneof: search, chat, edit, insert
val search: Any? = null,
val processes: List<>? = null,
val processes: List<Any>? = null,
) {

enum class SpeakerEnum {
Expand Down
2 changes: 1 addition & 1 deletion agent/src/cli/scip-codegen/emitters/KotlinEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,6 @@ export class KotlinFormatter extends Formatter {
}

public listSyntax(value: string): string {
return `List<${value}>`
return `List<${value || 'Any'}>`
}
}

0 comments on commit e768a49

Please sign in to comment.