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
Have you searched for related issues? Others may have had similar requests
Question
Suppose I have a todo tracking agent, which tracks the todo tasks of a user. Now on the first message I want to provide the list of todo tasks of the user with a properly phrased hardcoded message from my end. I also want the model to have context of these tasks. I can't add these todo tasks in the system prompt. What are my options ?
agent = Agent(name="Assistant")
inputs = [
{"role": "user", "content": "What's your name?"},
{"role": "assistant", "content": "My name is Jimmy the AI, how can I help you today?"},
{"role": "user", "content": "What's your name again?"},
]
result = await Runner.run(agent, inputs)
Please read this first
Question
Suppose I have a todo tracking agent, which tracks the todo tasks of a user. Now on the first message I want to provide the list of todo tasks of the user with a properly phrased hardcoded message from my end. I also want the model to have context of these tasks. I can't add these todo tasks in the system prompt. What are my options ?
I tried doing this:
But I get this error:
openai.NotFoundError: Error code: 404 - {'error': {'message': "Item with id 'msg_MADE_UP_ID' not found.", 'type': 'invalid_request_error', 'param': 'input', 'code': None}}
The text was updated successfully, but these errors were encountered: