File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ struct SessionEvent;
3232// =============================================================================
3333
3434// / SDK protocol version - must match copilot-agent-runtime server
35- inline constexpr int kSdkProtocolVersion = 1 ;
35+ inline constexpr int kSdkProtocolVersion = 2 ;
3636
3737// =============================================================================
3838// Enums
Original file line number Diff line number Diff line change @@ -158,12 +158,12 @@ TEST(TypesTest, PingResponse)
158158 auto resp = input.get <PingResponse>();
159159 EXPECT_EQ (resp.message , " pong" );
160160 EXPECT_EQ (resp.timestamp , 1234567890 );
161- EXPECT_EQ (resp.protocol_version , 1 );
161+ EXPECT_EQ (resp.protocol_version , 2 );
162162}
163163
164164TEST (TypesTest, ProtocolVersion)
165165{
166- EXPECT_EQ (kSdkProtocolVersion , 1 );
166+ EXPECT_EQ (kSdkProtocolVersion , 2 );
167167}
168168
169169TEST (TypesTest, SessionMetadataParsesIso8601Timestamps)
You can’t perform that action at this time.
0 commit comments