Skip to content

[Bug]: instructions of GPTAssistantAgent are not updating properly #3101

Closed
@giriprasad51

Description

@giriprasad51

Describe the bug

agent101 = GPTAssistantAgent(
name="agent101",
llm_config={
"config_list": config_list,
},

)
print(agent101.assistant_id,agent101.description)

Excepted : asst_6oPsZLKIFXQoB6V9XPggM0RK You are a helpful AI assistant.
Solve tasks using your coding and language skills.

Output : asst_6oPsZLKIFXQoB6V9XPggM0RK None


agent102 = GPTAssistantAgent(
instructions = """
As 'weather reporter' your primary role is to information about weather
""",
name="agent102",
llm_config={
"config_list": config_list,
},

)

agent104 = GPTAssistantAgent(

name="agent104",
llm_config={
    "config_list": config_list,
},
assistant_config={
    "assistant_id": agent102.assistant_id
},

)
print(agent104.assistant_id,agent104.description)

Excepted : asst_5XWVJtFGi9WFChhEzs4y3OaJ
As 'weather reporter' your primary role is to information about weather
Output : asst_5XWVJtFGi9WFChhEzs4y3OaJ None

Steps to reproduce

No response

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.2Issues which are related to the pre 0.4 codebaseneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions