Skip to content

Commit

Permalink
update recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
julialeex committed Jan 30, 2025
1 parent f6eb866 commit e3715f0
Show file tree
Hide file tree
Showing 14 changed files with 527 additions and 1,061 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport")
package com.sourcegraph.cody.agent.protocol_generated;

import com.google.gson.annotations.SerializedName;

data class Cache_controlParams(
val type: TypeEnum? = null, // Oneof: emphemeral
) {

enum class TypeEnum {
@SerializedName("emphemeral") Emphemeral,
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ object Constants {
const val edit = "edit"
const val `edit-file` = "edit-file"
const val editor = "editor"
const val emphemeral = "emphemeral"
const val enabled = "enabled"
const val enterprise = "enterprise"
const val `enterprise-user-logged-into-dotcom` = "enterprise-user-logged-into-dotcom"
Expand Down Expand Up @@ -92,6 +93,7 @@ object Constants {
const val symbol = "symbol"
const val system = "system"
const val terminal = "terminal"
const val text = "text"
const val tool = "tool"
const val trace = "trace"
const val tree = "tree"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport")
package com.sourcegraph.cody.agent.protocol_generated;

import com.google.gson.annotations.SerializedName;

data class ContentPart(
val type: TypeEnum, // Oneof: text
val text: String,
val cache_control: Cache_controlParams? = null,
) {

enum class TypeEnum {
@SerializedName("text") Text,
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ data class SerializedChatMessage(
val editorState: Any? = null,
val speaker: SpeakerEnum, // Oneof: human, assistant, system
val text: String? = null,
val contentPart: List<ContentPart>? = null,
val model: String? = null,
val intent: IntentEnum? = null, // Oneof: search, chat, edit, insert
val manuallySelectedIntent: ManuallySelectedIntentEnum? = null, // Oneof: search, chat, edit, insert
Expand Down
119 changes: 12 additions & 107 deletions agent/recordings/cody-chat_103640681/recording.har.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e3715f0

Please sign in to comment.