Skip to content

Commit

Permalink
avoid tls
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Jun 11, 2024
1 parent 773973b commit 39fb026
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 177 deletions.
181 changes: 16 additions & 165 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion bindings/ceylon/src/agent/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl Workspace {
let mut rt = Runtime::new().unwrap();
let mut tasks = vec![];
for agent in self._agents.iter() {
let url = format!("{}/{}", self.host, self.port);
let url = format!("{}/{}/quic-v1", self.host, self.port);
let topic = format!("workspace-{}", agent.workspace_id());
let agent = agent.clone();
let task = rt.spawn(async move {
Expand Down
4 changes: 2 additions & 2 deletions bindings/ceylon/tests/ceylon_agent_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ async def main():
agent3 = Agent(name="ceylon-ai-3", is_leader=False, )
agent4 = Agent(name="ceylon-ai-4", is_leader=False, )

LLMAgent(name="ceylon-ai-1", is_leader=True, on_message=agent1, processor=agent1)
# LLMAgent(name="ceylon-ai-1", is_leader=True, on_message=agent1, processor=agent1)

workspace = Workspace(agents=[agent1, agent2, agent3, agent4],
config=WorkspaceConfig(
name="ceylon-ai",
host="/ip4/0.0.0.0/tcp",
host="/ip4/0.0.0.0/udp",
port=8888
))
await workspace.run({
Expand Down
2 changes: 1 addition & 1 deletion libs/sangedama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ serde_json = "1.0.117"
tokio = { version = "1.37.0", features = ["full"] }
serde = { version = "1.0.203", features = ["derive"] }
dotenvy = "0.15.7"
libp2p = { version = "0.53.2", features = ["tokio", "gossipsub", "mdns", "noise", "macros", "tcp", "yamux", "quic", "tls"] }
libp2p = { version = "0.53.2", features = ["tokio", "gossipsub", "mdns", "noise", "macros", "tcp", "yamux", "quic"] }
libp2p-gossipsub = "0.46.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing = "0.1.40"
Expand Down
Loading

0 comments on commit 39fb026

Please sign in to comment.