main
fix test failure because of no OPENAI_API_KEY, change the sequence of start
restructure open ai chat to use open ai agent
refactor the function factory agent context init