Weird output mapper behavior when querying predict endpoint
ejunprung opened this issue · 9 comments
Take a look at the response body. I had uploaded an output mapper and then replaced it with a new one. It rotates between old and new somehow.
@ejunprung I dont think, will it help if i send you the logs ?
@ejunprung did you learn anything new about this? sure seems like a caching issue...
@maxpumperla Nope. It still happens, and I haven't figured out why. It definitely sounds like caching.
@maxpumperla I just realized. I think we need to run python generate.py clean
to clear out old files. After running python generate.py clean
, it seemed to fix the problem but I don't think there's a way to execute that via the UI...
ok, good to know. I can take care of that.
Btw, we've basically been sharing the swagger UI https://zinc-factory.devpathmind.com/api/ui/ only if that changes anything.
@ejunprung I've put the same commands underlying clean
behind the endpoints exposed in the UI, which should resolve this issue.