fix(openai): retain cache_write_tokens, update to v7 sdk (#11399)