Skip to content

AgentState breaking change #765

@BryanJBryce

Description

@BryanJBryce

In 2.6.1 AgentState was defined like this:

public enum AgentState: Int {
    case unknown
    case disconnected
    case connecting
    case initializing
    case listening
    case thinking
    case speaking
}

in 2.7.0 like this:

public enum AgentState: String, Codable, Sendable {
    case idle
    case initializing
    case listening
    case speaking
    case thinking
}

That just broke anyone's code that used the old version and is updating to the new one and there wasn't anything written up about it that I can see. Maybe it wasn't meant to be used from outside the library?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions