You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
Please describe your setup
How did you install letta?
pip install letta-client
Describe your setup
window docker run letta server
vscode python code
Screenshots
code:
# install letta_client with `pip install letta-client`fromletta_clientimportLetta# create a client to connect to your local Letta Serverclient=Letta(
base_url="http://localhost:8283"
)
# create an agent with two basic self-editing memory blocksagent_state=client.agents.create(
memory_blocks=[
{
"label": "human",
"value": "The human's name is Bob the Builder."
},
{
"label": "persona",
"value": "My name is Sam, the all-knowing sentient AI."
}
],
model="openai/gpt-4o-mini",
context_window_limit=16000,
embedding="openai/text-embedding-3-small"
)
# the AgentState object contains all the information about the agentprint(agent_state)
I use the request and curl, it works. It seem like something wrong with httpx.client:
it returns 502
Additional context
I use the Requests,it works
I use the Postman, it works:
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
Please describe your setup
pip install letta-client
Screenshots
code:
I use the request and curl, it works. It seem like something wrong with httpx.client:
it returns 502
Additional context
I use the Requests,it works
I use the Postman, it works:
The text was updated successfully, but these errors were encountered: