livepeer / go-livepeer

Official Go implementation of the Livepeer protocol
http://livepeer.org
MIT License
538 stars 168 forks source link

Log O AIModels config on startup #3031

Closed eliteprox closed 4 months ago

eliteprox commented 4 months ago

What does this pull request do? Explain your changes. (required) This change logs each advertised capability, model and price from the aiModels config when log level of info or debug is used.

Sample log lines:

I0423 23:44:26.940464  544271 starter.go:601] Capability text-to-image (ID: 27) advertised with model constraint ByteDance/SDXL-Lightning at price 4768371 per 1 unit
I0423 23:44:26.940511  544271 starter.go:601] Capability image-to-image (ID: 28) advertised with model constraint ByteDance/SDXL-Lightning at price 4768371 per 1 unit
I0423 23:44:26.940530  544271 starter.go:601] Capability image-to-video (ID: 29) advertised with model constraint stabilityai/stable-video-diffusion-img2vid-xt-1-1 at price 3390842 per 1 unit

Specific updates (required)

How did you test each of these updates (required)

Does this pull request close any open issues?

Checklist: