| 22 | ) |
| 23 | |
| 24 | type fakeHostModelExecutor struct { |
| 25 | executeModel func(context.Context, handlers.ModelExecutionRequest) (handlers.ModelExecutionResponse, *interfaces.ErrorMessage) |
| 26 | executeModelStream func(context.Context, handlers.ModelExecutionRequest) (handlers.ModelExecutionStream, *interfaces.ErrorMessage) |
| 27 | } |
| 28 | |
| 29 | func (e *fakeHostModelExecutor) ExecuteModel(ctx context.Context, req handlers.ModelExecutionRequest) (handlers.ModelExecutionResponse, *interfaces.ErrorMessage) { |
| 30 | return e.executeModel(ctx, req) |
nothing calls this directly
no outgoing calls
no test coverage detected