genkit icon indicating copy to clipboard operation
genkit copied to clipboard

fix(py/ai): add port number to runtime file name

Open MichaelDoyle opened this issue 5 months ago • 1 comments

If multiple reflection APIs start in quick succession in the same process, the file names can collide. Adding the port number gives it more uniqueness.

Checklist (if applicable):

  • [X] PR title is following https://www.conventionalcommits.org/en/v1.0.0/
  • [ ] Tested (manually, unit tested, etc.)
  • [ ] Docs updated (updated docs or a docs bug required)

MichaelDoyle avatar Jul 07 '25 21:07 MichaelDoyle

Hey all - I just submitted a similar change, and this is my attempt to port it over to Py.

MichaelDoyle avatar Jul 07 '25 21:07 MichaelDoyle