Skip to content

Commit

Permalink
fix: Fix AgentRegistry deployment block not being set in SetupOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyodar committed Feb 4, 2025
1 parent f04d278 commit 543dff7
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions pkg/agent/setup/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,21 +167,22 @@ func (m *SetupManager) Setup(ctx context.Context) (*SetupOutput, error) {
}

output := &SetupOutput{
TwitterAuthTokens: authTokens,
TwitterAccessToken: oauthTokenPair.Token,
TwitterAccessTokenSecret: oauthTokenPair.TokenSecret,
TwitterConsumerKey: m.twitterAppKey,
TwitterConsumerSecret: m.twitterAppSecret,
TwitterUsername: m.twitterAccount,
TwitterPassword: twitterPassword,
ProtonEmail: m.protonEmail,
ProtonPassword: protonPassword,
StarknetPrivateKeySeed: starknetPrivateKeySeed[:],
StarknetRpcUrls: m.starknetRpcUrls,
AgentRegistryAddress: agentRegistryAddress,
OpenAIKey: m.openAiKey,
DstackTappdEndpoint: m.dstackTappdEndpoint,
UnencumberEncryptionKey: m.unencumberEncryptionKey,
TwitterAuthTokens: authTokens,
TwitterAccessToken: oauthTokenPair.Token,
TwitterAccessTokenSecret: oauthTokenPair.TokenSecret,
TwitterConsumerKey: m.twitterAppKey,
TwitterConsumerSecret: m.twitterAppSecret,
TwitterUsername: m.twitterAccount,
TwitterPassword: twitterPassword,
ProtonEmail: m.protonEmail,
ProtonPassword: protonPassword,
StarknetPrivateKeySeed: starknetPrivateKeySeed[:],
StarknetRpcUrls: m.starknetRpcUrls,
AgentRegistryAddress: agentRegistryAddress,
AgentRegistryDeploymentBlock: m.agentRegistryDeploymentBlock,
OpenAIKey: m.openAiKey,
DstackTappdEndpoint: m.dstackTappdEndpoint,
UnencumberEncryptionKey: m.unencumberEncryptionKey,
}

if debug.IsDebugShowSetup() {
Expand Down

0 comments on commit 543dff7

Please sign in to comment.