Skip to content

Cannot use instance member 'aiSwiftAssistClient' within property initializer; property initializers run before 'self' is available #16

@Leon-Hausmann-RWTH

Description

@Leon-Hausmann-RWTH

Hey ive got a problem with this line of code:

let creationAssistantParams = try await aiSwiftAssistClient.createAssistantAndThread(with: assistantParams)

Xcode says: Cannot use instance member 'aiSwiftAssistClient' within property initializer; property initializers run before 'self' is available. Can someone help me pls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions